Re: [PHP-DEV] $argv and $argc registration

2001-07-19 Thread Zeev Suraski
ini_set() cannot be used to handle register_globals or register_argc_argv, because by the time this function gets called - it's already 'too late' for doing these tasks. You have to use a method of setting these directives before the script even begins to execute, via php.ini, httpd.conf or .h

[PHP-DEV] $argv and $argc registration

2001-07-19 Thread J. Jones
I am not subscribed to this list, so please CC: or reply directly to me. Thanks! I may be doing something wrong.. I'm not real sure. Neither $argc or $argv seem to be registered with the cgi version of php 4.0.6 and up. The test script: exits with the following: Warning: Undefined variable: