Secret google bot script

SpaceshipSpaceship
SpaceshipSpaceship
Namecheap AuctionsNamecheap Auctions
Watch

eliquidonline

Established Member
Impact
0
add this to your main page, or any page and it will tell you when and which googlebot (the refresh or deep crawl bot) indexed your site and email you the results :

include your own php tags please
-------------------------------------------------------------------------

if(eregi("googlebot",$HTTP_USER_AGENT))
{
$crawl = gethostbyaddr($_SERVER["REMOTE_ADDR"]);
if(eregi("64.",$REMOTE_ADDR))
{ $crawler = "Refresh GoogleBot"; }
if(eregi("216.",$REMOTE_ADDR))
{ $crawler = "Google Deep Crawler"; }
else
{ $crawler = "Unknown Crawler"; }

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 $SERVER_NAME", " $today n Googlebot IP Address: $REMOTE_ADDR n Googlebot Domain: $crawl n Crawler Type: $crawler n Url Visited: $url");
}

all i ask in return is to visit my site and give me comments on how to improve it
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
nice! got a link to your site? ill give a review on it
 
0
Close
DomainEasy: flexible LTO options. Close more domain deals with financing.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

New: watch any domain
You can now watch domains on NamePros. We check each one and notify you when something changes. Search for a domain and press Watch on...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back