Sebastian Bergmann wrote:
> Rasmus Lerdorf wrote:
>> This is expected behaviour as far as I am concerned.
>
> Sascha just enlightened me on #php.de.
Something I still don't understand:
<?php
session_register("count");
$HTTP_SESSION_VARS["count"]++;
echo $HTTP_SESSION_VARS["count"];
?>
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.
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
--
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]