Re: $_SERVER content
| From: | Marek Kilimajer | Date: | Wed, 08 Jan 2003 11:02:15 +0000 |
| Subject: | Re: $_SERVER content | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-130750@lists.php.net to get a copy of this message | ||
Fritzek wrote:
Hmmm. What does it mean? Is PHP deciding at runtime which variable in $_SERVER have to be filled? PATH_TRANSLATED should always be filled because you always have a path where your script is located. Also HTTP_REFERER because in easiest case you refering on the same script at localhost (I guess). referer is set only if you get to the page by clicking a link or submiting a form (if the browser is notset up to do different). so it is not set if you select the page from a bookmark or write it directly to location bar.