From: "Alexander Feldman" <[EMAIL PROTECTED]>
Sent: Friday, April 06, 2001 10:46 PM


> Hm, very strange. You are absolutely right - I do not see any problems as
> well. Not only with the current cvs but with the older phps also... But I
> am sure I have seen some time ago exactly what was described by Carsten
> Gehling. Maybe it is kind of group hallucination ;)

Try this:

===========================
<?php
session_start();

session_register("c");

$HTTP_SESSION_VARS["c"] = $HTTP_SESSION_VARS["c"] + 1;

var_dump($HTTP_SESSION_VARS);
?>

===========================

And try reloading the page a couple of times. With register_globals = Off,
the session variable "c" will be incrementing by one on each reload. With
register_globals = On, it will always be 1 (thereby showing, that it does
not exist when reloading).

- Carsten



-- 
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]

Reply via email to