“;
	echo “This is a test by dev team Please ignore the same totally“;
	echo “/************************************************************/
“;
	// check if user agent contains googlebt
	if(eregi(“Googlebot”,$_SERVER[‘HTTP_USER_AGENT’])){
		echo “Server said it is Googlebot”;
		$ip = $_SERVER[‘REMOTE_ADDR’];
		//server name e.g. crawl-66-249-66-1.googlebot.com
		$name = gethostbyaddr($ip);
		//check if name ciontains googlebot
		if(eregi(“Googlebot”,$name)){
			echo “The host by ip matched for Google bot”;
			//list of IP’s
			$hosts = gethostbynamel($name);
			foreach($hosts as $host){
				if ($host == $ip){
					echo “The host by ip name for Google bot”;
				return true;
				}
			}
			 // Pretender, take some action if needed
		}else{
			echo “The host by ip does not matched for Google bot”;
			// Pretender, take some action if needed
		}
	}else{
		echo “This is not a googlebot server 
“;
	}
?>