NameSilo

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
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
nice! got a link to your site? ill give a review on it
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer
Truehost — .com domains from $4.99, hosting includedTruehost — .com domains from $4.99, hosting included

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com
Catchy
DomDB
NameFit
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back