function is_search_engine() { $useragent = $_SERVER['HTTP_USER_AGENT']; if ((stristr($useragent, "Fast")) || (stristr($useragent, "Slurp")) || (stristr($useragent, "Ink")) || (stristr($useragent, "Atomz")) || (stristr($useragent, "Scooter")) || (stristr($useragent, "Crawler")) || (stristr($useragent, "bot")) || (stristr($useragent, "Genius")) || (stristr($useragent, "AbachoBOT")) || (stristr($useragent, "AESOP_com_SpiderMan")) || (stristr($useragent, "ia_archiver")) || (stristr($useragent, "Googlebot")) || (stristr($useragent, "UltraSeek")) || (stristr($useragent, "Google"))) { return TRUE; } else { return FALSE; } }