Re: Re[2]: PHP Bug ID: 11833

From: Date: Tue, 03 Jul 2001 16:05:22 +0000
Subject: Re: Re[2]: PHP Bug ID: 11833
References: 1 2 3  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969335839@lists.php.net to get a copy of this message
----- Original Message ----- From: "Michal Izydorski" <M.Izydorski@rubikon.pl> To: "Daniel Beckham" <danbeck@dealnews.com> 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

« previous php.doc (#969335839) next »