Nicholas Cheek

LITTLE ROCK WEB DEVELOPER

This will let you know when your site has been crawled

<?php

$email = "nick@inthooz.com";

if(eregi("googlebot",$HTTP_USER_AGENT))
{
    if ($QUERY_STRING != "")
    {
        $url = "http://".$SERVER_NAME.$PHP_SELF.'?'.$QUERY_STRING;
    } else {
        $url = "http://".$SERVER_NAME.$PHP_SELF;
    }
    $date = date("F j, Y, g:i a");
    mail($email, "[Googlebot] $url", "$date - Google crawled $url");
} 
?>

LITTLE ROCK WEB DEVELOPER

Living the dream.

nick@nicholascheek.com