Dynadot — .com Transfer

Googlebot Monitoring Script for your website!

Spaceship Spaceship
Watch

rishimodi

Account Closed
Impact
35
Googlebot Monitoring Script :

A free php script that notifies you when google bot visits your page.

To install the script, copy paste the script given below on your index page and edit email address you want to be notified.


if(eregi("googlebot",$_SERVER['HTTP_USER_AGENT'])) {
$s = "";
foreach($_SERVER as $item => $value) {
$s .= "\n$item : $value";
}
$sdate = date("Y-m-d h:i:s");
$message = <<<MESSAGE
Visit date:$sdate
Information:
=================================
$s
=================================
MESSAGE;
if($google_alert) {
mail("[email protected]", "googlebot alert", $message);
}
}
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
I copied and pasted the php code in between <head></head> by changing [email protected] to my email. I didnt get any notification email. I can be sure that Googlebot visited my site.

Anyone here use this php code in your site? :)
 
0
•••
0
•••
newsiness said:
I copied and pasted the php code in between <head></head> by changing [email protected] to my email. I didnt get any notification email. I can be sure that Googlebot visited my site.

Anyone here use this php code in your site? :)

It needs to be a php file (so ending with .php)

- Steve
 
0
•••
iNod said:
It needs to be a php file (so ending with .php)

- Steve

Thanks iNod...:)
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer

We're social

Domain Recover
DomainEasy — Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back