Page is a not externally linkable
dcool86 - 9:56 pm on Jan 8, 2012 (gmt 0)
Hello I have a website that logs referrers using the code below
$ref = $_SERVER['HTTP_REFERER'];
On my site it shows the top websites that have been referering the most.
The problem I'm having is people are using the codes below to cheat the system.
<div style="width:0;height:0;"><img style="width:0;height:0;" src="http://example.com"></div>
and
<script type="text/javascript" src="http://www.example.com">
The problem is when people visit there site it treats it like the referred someone to my site. I have to manually block the websites. Is there a way to prevent people from doing this?
Thanks