?php function getAgent(){ $user_agent=$_SERVER['HTTP_USER_AGENT']; $from=@$_SERVER['HTTP_FROM']; $spider_array=array("google","yahoo","bing"); for($i=0;$i