PHP:
if(eregi($_SERVER["HTTP_HOST"], str_replace("www.", "", strtolower($_SERVER["HTTP_REFERER"])))) else

Referrer kontrolu icin kullanabileceğiniz bir kod.

Alıntı; http://forums.digitalpoint.com/showpost.php?p=1050634&postcount=2