PHP not passing CLI script arguments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux