Re: sessions, track_vars, register_globals
| From: | Cynic | Date: | Thu, 03 May 2001 12:20:40 +0000 |
| Subject: | Re: sessions, track_vars, register_globals | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-53590@lists.php.net to get a copy of this message | ||
Hi Andi,
I just spotted a bug report that confirms this on w98:
http://bugs.php.net/?id=10623&edit=1
At 13:21 2.5. 2001, Andi Gutmans wrote the following:
--------------------------------------------------------------
>Sounds like a bug in PHP to me.
>
>Andi
>
>At 01:00 PM 5/2/2001 +0200, Cynic wrote:
>>two snips from the manual:
>>
>>1) If both track_vars and register_globals are enabled,
>> then the globals variables and the $HTTP_SESSION_VARS
>> entries will reference the same value.
>>
>>2) As of PHP 4.0.3, track_vars is always turned on.
>>
>>This is not the case with Apache 1.3.20-dev, 4.0.5 RC7,
>>and 4.0.5 (final) on NT4 SP5 - with register_globals on,
>>$HTTP_SESSION_VARS is always empty.
>>
>>Is this a bug in the docs or in the behavior?
>>
>>
>>cynic@mail.cz
>>-------------
>>And the eyes of them both were opened and they saw that their files
>>were world readable and writable, so they chmoded 600 their files.
>> - Book of Installation chapt 3 sec 7
>>
>>
>>--
>>PHP Development Mailing List <http://www.php.net/>
>>To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
>>For additional commands, e-mail: php-dev-help@lists.php.net
>>To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
>For additional commands, e-mail: php-dev-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net
------end of quote------
cynic@mail.cz
-------------
And the eyes of them both were opened and they saw that their files
were world readable and writable, so they chmoded 600 their files.
- Book of Installation chapt 3 sec 7