On Mon, October 16, 2006 4:41 pm, Roman Neuhauser wrote: > Just a thought: var_dump(ini_get('register_argc_argv')) ? I should have been more clear If/when there are any $args, then $argc/$argv are set: $ /cygdrive/c/php5.1.1/php.exe -q argv.php array(1) { [0]=> string(8) "argv.php" } C:\Documents and Settings\rlynch>c:\php5.1.1\php.exe -q K:\pizzahut\argv.php array(1) { [0]=> string(20) "K:\pizzahut\argv.php" } But $argv does not contain the path of the binary PHP running -- it has everything AFTER that in the command line. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php