$url=parse_url($HTTP_REFERER); if(!empty($url["host"])&&strpos($url["host"],'vbulletin.org')==0){ echo "Error 500-invalid server call - ".$url["host"]." - Remote linking Denied"; exit; }