Mantıken yazıyorum:
if (isset($_SERVER['HTTP_REFERER'])){
$adres = "http://....";
if ($_SERVER['HTTP_REFERER']=="$adres"){
...
site
...
}
}