PHP not passing CLI script arguments

PHP not passing CLI script arguments

am 23.11.2008 23:39:38 von Darren Whitlen

Hi,

I have a folder of PHP scripts, which I have added to my PATH var in XP
so i can access them elsewhere in the command prompt. *.php files are
also set to open with the PHP cli app.

But when doing this, my scripts no longer have any arguments passed into
$argv. Only the script name in $argv[0].

Has anyone managed to do this before, or have I missed anything?

Darren

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