| | |||||
| ||||||||
| Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms. |
![]() | NamePros Design Contests | Forum Sponsorship |
| Join in on the FUN! You can start an affordable design contest and pick from entries talented members submit or you can enter a design contest for a chance to win CASH PRIZES! What are you waiting for? Get started in the fun TODAY! - Banners, Logos, Mascots, and MORE! (Please READ the design Contest section rules Prior to starting or entering a contest) | ||
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| New Member Join Date: Jan 2003
Posts: 11
![]() | secret google bot script 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("you@youremail.com", "Googlebot detected on $SERVER_NAME", " $today n Googlebot IP Address: $REMOTE_ADDR n Googlebot Domain: $crawl n Crawler Type: $crawler n Url Visited: $url"); ????: NamePros.com http://www.namepros.com/web-design-discussion/14782-secret-google-bot-script.html } all i ask in return is to visit my site and give me comments on how to improve it |
| |