----- Original Message -----
From: "Michal Izydorski" <[EMAIL PROTECTED]>
To: "Daniel Beckham" <[EMAIL PROTECTED]>
Sent: Tuesday, July 03, 2001 10:44 AM
Subject: Re[2]: PHP Bug ID: 11833


> Sorry, the relation behind $HTTP_*_VARS tables and $PHP_SELF,
> according  the manual, is only, that both are predefined variables,
> but there aren't any words about $PHP_SELF and register_globals
> connection. The associative arrays are mixed with 'keys' of its
> elements. It was my problem. I think, that separation of this two
> variables types will be more clear.

Ok, I now see what you are saying.  The $PHP_SELF variable is described as a
special PHP variable like $HTTP_SERVER_VARS, et. al., but it stops acting
like a special variable once register_globals is turned off.  This is
definitly a documenation issue and I will add a note in the docs about this
behavior.  Thank you for persisting with your point. =)

> Second problem is, that I can't set any session variables when I turn
> register_globals Off. I read documentation carefully, but following
> code doesn't work - variable "user" isn't set in main.php. I'm not so
> sure what's mean of :

Please submit this as a session related bug in the PHP bug system.

Daniel

Reply via email to