Re: Request for new feature: $HTTP_SESSION_VARS when register_globals = on
| From: | Andi Gutmans | Date: | Thu, 05 Apr 2001 22:54:46 +0000 |
| Subject: | Re: Request for new feature: $HTTP_SESSION_VARS when register_globals = on | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-50978@lists.php.net to get a copy of this message | ||
Yes, what you're saying definitely makes sense and I think it should be fixed.
Andi
At 09:20 PM 4/5/2001 +0200, Carsten Gehling wrote:
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@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