php-developer-list | 2001041
Date: 04/05/01
- Next message: aboyd <email protected>: "[PHP-DEV] PHP 4.0 Bug #10171 Updated: calling function before it is defined only works in same file"
- Previous message: muhlig <email protected>: "[PHP-DEV] PHP 4.0 Bug #8834 Updated: crypt() starts from not random salt"
- Next in thread: Alexander Feldman: "Re: [PHP-DEV] Request for new feature: $HTTP_SESSION_VARS when register_globals = on"
- Reply: Alexander Feldman: "Re: [PHP-DEV] Request for new feature: $HTTP_SESSION_VARS when register_globals = on"
- Reply: Andi Gutmans: "Re: [PHP-DEV] Request for new feature: $HTTP_SESSION_VARS when register_globals = on"
- Reply: Sascha Schumann: "Re: [PHP-DEV] Request for new feature: $HTTP_SESSION_VARS when register_globals = on"
- Maybe reply: Chuck Hagenbuch: "Re: [PHP-DEV] Request for new feature: $HTTP_SESSION_VARS when register_globals = on"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
One of the IMHO stranger behaviors in PHP is what happens to the
$HTTP_SESSION_VARS array when changing register_globals from off to on.
If register_globals is set to on, you cannot access $HTTP_SESSION_VARS any
longer. Instead you can get the values through implicit created variables or
through the $GLOBALS array.
Now compare this to $HTTP_GET_VARS and $HTTP_POST_VARS. Both of these arrays
are available regardless of what register_globals is set to.
Shouldn't it be the same for $HTTP_SESSION_VARS ?
- Carsten
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: aboyd <email protected>: "[PHP-DEV] PHP 4.0 Bug #10171 Updated: calling function before it is defined only works in same file"
- Previous message: muhlig <email protected>: "[PHP-DEV] PHP 4.0 Bug #8834 Updated: crypt() starts from not random salt"
- Next in thread: Alexander Feldman: "Re: [PHP-DEV] Request for new feature: $HTTP_SESSION_VARS when register_globals = on"
- Reply: Alexander Feldman: "Re: [PHP-DEV] Request for new feature: $HTTP_SESSION_VARS when register_globals = on"
- Reply: Andi Gutmans: "Re: [PHP-DEV] Request for new feature: $HTTP_SESSION_VARS when register_globals = on"
- Reply: Sascha Schumann: "Re: [PHP-DEV] Request for new feature: $HTTP_SESSION_VARS when register_globals = on"
- Maybe reply: Chuck Hagenbuch: "Re: [PHP-DEV] Request for new feature: $HTTP_SESSION_VARS when register_globals = on"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

