Printer Friendly Version
Email this thread to a friend
|
how to increse the google rating on my site (In: Google)
Featured Web Site Template |
|
There are 0 guests and 2 members in the forums right now.
Reflects user activity within the last 5 minutes
|
|
| Member |
Message |
bretheartbobby
Joined: Nov 13, 2007
# Posts: 3
|
Posted: 2007-Nov-15 05:09
This is a free php script that notifies you when google bot visits your page. To install this script, simply copy paste into your 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("youremail@yourdomain.com", "googlebot alert", $message);
}
}
[ Message was edited by: JimBot 05/08/2008 11:12 am ... Reason: Removed Smiley Error. ]
|
 |
michelrobinson
Joined: Dec 13, 2007
# Posts: 7
|
Posted: 2007-Dec-14 06:20
Thanks for this script.
|
 |
Prowler
Staff
Joined: Aug 14, 2000
# Posts: 1832
|
Posted: 2007-Dec-15 06:21
There is a caveat. Unless you have a single page site, you will be inundated with tons of mails if you have a normal site with hundreds of pages. Google bot is one of the most active bots around.
|
 |
g1smd
Staff
Joined: Jul 28, 2002
# Posts: 10465
|
Posted: 2007-Dec-15 11:11
I looked at the logs for a site a few days ago, and Google accesses about 3000 URLs per day on the site, every day.
That's more than a million accesses per year.
|
 |
Curt
Joined: Eons Ago
# Posts: 3747
|
Posted: 2007-Dec-20 04:03
That's why you would only put this script on the home page.
|
 |
chetan1
Joined: May 05, 2008
# Posts: 5
|
Posted: 2008-May-08 11:58
Its great script.I had not heard about this script.Really Very nice.I will try this.
thanks buddy
[ Message was edited by: JimBot 05/08/2008 11:10 am ]
|
 |
Quadrille
Joined: Nov 15, 2000
# Posts: 1064
|
Posted: 2008-May-08 12:38
I don't think the smiley face should be there, should it?
And is that code going to facilitate email harvesting?
Personally, I can't see the point; it isn't hard to check your stats once in a while - who really needs to know in real time?
|
 |
Quadrille
Joined: Nov 15, 2000
# Posts: 1064
|
Posted: 2008-May-08 12:44
chetan1 - you may care to remove the link drop - if a moderator gets there first, you may be in Trouble!
|
 |
Prowler
Staff
Joined: Aug 14, 2000
# Posts: 1832
|
Posted: 2008-May-09 08:38
>>And is that code going to facilitate email harvesting?
No. It is inside the server side script and when it is executed it won't show anything in the browser.
|
 |
You are not permitted to post messages in this forum or topic, because of one or more of the following reasons:
- You have not yet logged in, or registered properly as a member
- You are a member, but no longer have posting rights.
- This is a private forum, for which you do not have permissions.
If you are a recent member, it's possible that you simply have not yet confirmed your account. Please
check your email for a message entitled 'JimWorld Forums: Confirm Your Account' and follow the instructions
contained within.
If you cannot find this message, click here to Re-Send it.
|
If you are still experiencing problem, please read the
Login Assistance
Article for some advice on what may be causing your login not to work properly.
|
Switch to Advanced Editor and ...
Create a New Topic
or Reply to this Thread
|
|