I need to know a sure fire way to track the last page a person came from. I know that HTTP_REFERER header exists but does it always work? if not is there a way that will always work?
$referer = $HTTP_REFERER;
if ($HTTP_REREFER == "") { $referer = "unknown"; }
It will always work execept if the person opens a new window or types in the URL into the browser himself.