Re: Difference between equal $_SERVER variables?

From: Date: Thu, 24 Jul 2003 15:07:01 +0000
Subject: Re: Difference between equal $_SERVER variables?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-156661@lists.php.net to get a copy of this message
"Curt Zirzow" <curt@zirzow.dyndns.org> wrote in message news:20030724143733.GG78291@bagend.shire... > * Thus wrote Ivo Fokkema (I.F.A.C.Fokkema@LUMC.nl): > > Hi list, > > > > Just out of curiosity I would like to know if anyone can tell me the > > difference between some $_SERVER variables that generate the same output (in > > my test-file at least). > I would suggest reading up on the variables available > http://www.php.net/manual/en/reserved.variables.php Well, I've seen that, but for instance; 'PHP_SELF' The filename of the currently executing script, relative to the document root. --and-- 'SCRIPT_NAME' Contains the current script's path. doesn't mean much to me... They both return the same results to me, also. When do these differ?

« previous php.general (#156661) next »