* Thus wrote Ben Ramsey ([EMAIL PROTECTED]):
> I'm executing a PHP script from the Windows command prompt:
> 
> c:/path/to/php.exe c:/path/to/script.php
> 
> I want to pass some parameters to script.php, but I can't use a query 
> string because then I get a file not found type of error.  So, how 
> should I pass parameters to the script?

c:/path/to/php.exe c:/path/to/script.php param1 parm2

echo $argc, "\n";
print_r($argv);

Curt
-- 
"I used to think I was indecisive, but now I'm not so sure."

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to