Page 1 of 1

[SOLVED] Javascript equivalent of HTTP_REFERER

Posted: Tue Jun 07, 2005 2:21 pm
by anjanesh
Im pretty sure there is a Javascript way to determine from which page it has come from becuase I saw it once which shows you what keywords you searched for in the search engine.

Anyone ?

Thanks

Posted: Tue Jun 07, 2005 2:56 pm
by wwwapu
could it be something as exciting as document.referer ?

Posted: Tue Jun 07, 2005 3:58 pm
by feyd
document.referrer in IE and Firefox.

;)

Posted: Wed Jun 08, 2005 12:25 am
by anjanesh
Ah...I was trying document.referer - in PHP its $_SERVER['HTTP_REFERER']
Thanks