johan albert - 2009-08-16 17:44:39
I'm bulding a web site and I do not want others to link to my pages. I can use on every sinle page the http_referer to detect who's the referer and decide if I have to give access or not...some peoples are using javascript to redirect there visitors to my site.
Problem is if other sites redirect visitors using javascript and the visitor browser is Internet Explorer, i am getting blank http_referrer.
I tried...
$HTTP_REFERER = getenv("HTTP_REFERRER"); getting blank in IE only
$HTTP_REFERER = $_SERVER("HTTP_REFERRER"); getting blank in IE only
Can you help me to solve my problems.
johan