You are here: 'HTTP_REFERER' « PHP Programming Language « IT news, forums, messages
'HTTP_REFERER'

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация