Re: old getenv?
| From: | Bryan Koschmann - GKT | Date: | Wed, 18 Dec 2002 22:18:50 +0000 |
| Subject: | Re: old getenv? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-128785@lists.php.net to get a copy of this message | ||
Hey thanks Kevin. That was all I needed to know. I can't quite understand
why it didn't report back, but I have it working now. I did have
register_globals off, and even tried turning it on, but that didn't make a
difference. Maybe I should just start trying to write my own from scratch
:)
Thanks again,
Bryan
On Wed, 18 Dec 2002, Kevin Stone wrote:
|The only way to get at HTTP_REFERER is either through getenv(),
|$HTTP_SERVER_VARS, or $_SERVER. There is no other way around it. But since
|the methods are universial there shouldn't be any harm in just using the
|Find/Replace command in your editor.
|
|I found one (rather odd) reference that suggested getenv() may not return
|certain values if Register Globals is turned on, but I do not believe it is
|true.
|
|-Kevin