Posted by windandwaves on 10/12/05 08:08
Hi Folk
I am reading the info below and I am thinking, just how trusted is it.
I have a redirection in place using an .htaccess file. The file it
redirects to is 404.php. Is there a way to find out what the file was that
people entered originally? I was thinking about $_SERVER["HTTP_REFERER"]
but that does not seem to do the trick (it is empty).
Can you help?
TIA
- Nicolaas
PS here is the info on $_SERVER["HTTP_REFERER"]
'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.
[Back to original message]
|