Re: Re: $PHP_SELF

From: Date: Mon, 20 Oct 2003 17:06:56 +0000
Subject: Re: Re: $PHP_SELF
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-166778@lists.php.net to get a copy of this message
On Mon, 20 Oct 2003 10:40:23 -0400, you wrote: >No, you seem to be misunderstanding the point. > > >http://www.php.net/manual/en/reserved.variables.php#reserved.variables.server Ok, there's nigh-on 30k of text on that page. I have /no/ idea what you're referring to. However, I did find this: "If the register_globals directive is set, then these variables will also be made available in the global scope of the script; i.e., separate from the $_SERVER and $HTTP_SERVER_VARS arrays." which suggests to me that the behaviour that the original poster described is anomalous. Could you please explain what you meant by "This is expected behavior"? Because I can't figure it out. (Incidentally, I searched for a bug report and can't find anything for 4.3.3 [http://tinyurl.com/rm5h]. I'm probably as interested as Boris is to find an answer here... if anyone can explain what's actually going on, rather than the standard "don't use register_globals" knee-jerk, I'd appreciate it.)

« previous php.general (#166778) next »