Re: Sessions and register_globals
| From: | Sascha Schumann | Date: | Fri, 05 Oct 2001 16:16:24 +0000 |
| Subject: | Re: Sessions and register_globals | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-67357@lists.php.net to get a copy of this message | ||
> The above script works, ie. outputs an increasing number during
> subsequent requests, when register_globals is turned off, but not,
> ie. showing always '1', when it is turned on.
That depends on your PHP version. $foo and
$HTTP_SESSION_VARS["foo"] should have been aliases for some
time. The behaviour was broken though for a period of time.
- Sascha Experience IRCG
http://schumann.cx/ http://schumann.cx/ircg