View Single Post
Old 06-25-2007, 03:30 PM  
bonkerz2007
Confirmed User
 
Join Date: Sep 2005
Posts: 794
Put this above your first html tag. That you can see when your crawl starts to pick up. Remove it when it does b/c you'll have a mailbox full of notifications.

PHP Code:
<?
if(eregi("googlebot",$HTTP_USER_AGENT))
{
if ($QUERY_STRING != "")
{$url = "http://".$SERVER_NAME.$PHP_SELF.'?'.$QUERY_STRING;}
else
{$url = "http://".$SERVER_NAME.$PHP_SELF;}
$today = date("F j, Y, g:i a");
mail("[email protected]", "Googlebot detected on http://$SERVER_NAME", "$today - Google crawled $url");
}
?>
bonkerz2007 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook