RE: [PHP] 1 ip address go here all others go here
| From: | Jay Blanchard | Date: | Tue, 13 Dec 2005 16:25:32 +0000 |
| Subject: | RE: [PHP] 1 ip address go here all others go here | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-227385@lists.php.net to get a copy of this message | ||
[snip]
snip from TFM
'HTTP_REFERER'
The address of the page (if any) which referred the user agent to
the current page. This is set by the user agent. Not all user agents
will set this, and some provide the ability to modify HTTP_REFERER
as a feature. In short, it cannot really be trusted.
notice the last 7 words !!!!
[/snip]
That is why I said it would "give the referer most of the time". There is no
other way, at least that I am aware of, to accurately gain the referer of
the user each and every time.