HTTP_REFERER Variable Blocked - Why?
Posted: Fri May 23, 2003 10:47 am
I have written a hit counter script that records the referring url to a web page. However, my ISP "blocks" the HTTP_REFERER variable (so it cannot be accessed in PHP or Perl) for "security reasons" which they would not explain so I have had to use a work around in JavaScript (grabbing the document.referer). This works OK unless JavaScript is turned off (obviously!).
Is there any way to get at the information in PHP and is there a valid security reason to block this information?
Is there any way to get at the information in PHP and is there a valid security reason to block this information?