Re: Re: cvs: php4 / php.ini-dist php.ini-recommended /ext/filepro filepro.c /ext/session session.c /main main.c php_globals.h php_variables.c
php_variables.h
| From: | Derick Rethans | Date: | Sun, 02 Mar 2003 17:49:21 +0000 |
| Subject: | Re: Re: cvs: php4 / php.ini-dist php.ini-recommended /ext/filepro filepro.c /ext/session session.c /main main.c php_globals.h php_variables.c php_variables.h |
||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-94723@lists.php.net to get a copy of this message | ||
On Sun, 2 Mar 2003, Zeev Suraski wrote:
> Looks like for some reason, CLI registers $argv and $argc globals even
> though register_globals is off. Why's that?
> Anyway, if we want to keep this behavior, we probably should change the
> place where argv/argc are registered, and put it somewhere global, outside
> where _SERVER is created. If&when _SERVER is created, it will attempt to
> copy them. Thoughts?
IMO they should not be registered when register_globals is off.
Derick
--
Stop mad cowboy disease!
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------