See the register_globals directive. If it is on, $argv will be created. Otherwise it will not. And as we all now know, PHP 4.2.0 defaults register_globals = off.
Consider using $_SERVER['argv'] instead. regards, Philip Olson On Fri, 3 May 2002, Andre wrote: > > Is there something special you've to do to get $argc and $argv in PHP 4.2.0? > In php.ini, register_argc_argv is set to On. Is there some other > configuration variable that I should look at? > > Thanks. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php