> 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]