Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

PHP googlebot detector, does this code work?

 
   Web Hosting and Web Master Forums (Home) -> Webmaster RSS
Next:  Site not working - for only one one user. Any id..  
Author Message
dtfa

External


Since: Jun 30, 2003
Posts: 49



(Msg. 1) Posted: Thu Jul 03, 2003 10:22 pm
Post subject: PHP googlebot detector, does this code work?
Archived from groups: alt>www>webmaster (more info?)

I found this code on phphacks.com

http://www.phphacks.com/googlebot.php

Does this really detect the freshie and deep bots ?

Thanks for any info.

 >> Stay informed about: PHP googlebot detector, does this code work? 
Back to top
Login to vote
newsdfn

External


Since: Jul 04, 2003
Posts: 3



(Msg. 2) Posted: Fri Jul 04, 2003 3:08 am
Post subject: Re: PHP googlebot detector, does this code work? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <ng09gvg4bsogkg212n5q04ato1r248jtli DeleteThis @4ax.com>,
dtfa@****nospm****insightbb.com (MeNotHome) wrote:

 > I found this code on phphacks.com
 >
<font color=purple> > <a style='text-decoration: underline;' href="http://www.phphacks.com/googlebot.php</font" target="_blank">http://www.phphacks.com/googlebot.php</font</a>>
 >
 > Does this really detect the freshie and deep bots ?

It detects the word googlebot in the User-Agent (U-A) field. Change the word (they
suggest to "mozilla") and it will detect any part or complete U-A you care to look for.
There is no discrimination between the type of googlebot as far as I can see although it's
easy enough to add the complete U-A field into the message.

What it doesn't give are all the Google IPs that visit you anonymously and that have no
U-A or RDNS.

--
Dave Stiles
<a style='text-decoration: underline;' href="http://shoppingdirectories.co.uk" target="_blank">http://shoppingdirectories.co.uk</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: PHP googlebot detector, does this code work? 
Back to top
Login to vote
newsprofile

External


Since: Jun 30, 2003
Posts: 64



(Msg. 3) Posted: Fri Jul 04, 2003 12:11 pm
Post subject: Re: PHP googlebot detector, does this code work? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Dave Stiles" <newsdfn.TakeThisOut@brisindex.co.uk> wrote in message
news:memo.20030704000805.214S@mail.linkcheck.co.uk...
 > In article <ng09gvg4bsogkg212n5q04ato1r248jtli.TakeThisOut@4ax.com>,
 > dtfa@****nospm****insightbb.com (MeNotHome) wrote:
 >
  > > I found this code on phphacks.com
  > >
<font color=green>  > > <a style='text-decoration: underline;' href="http://www.phphacks.com/googlebot.php</font" target="_blank">http://www.phphacks.com/googlebot.php</font</a>>
  > >
  > > Does this really detect the freshie and deep bots ?
 >
 > It detects the word googlebot in the User-Agent (U-A) field. Change the
word (they
 > suggest to "mozilla") and it will detect any part or complete U-A you care
to look for.
 > There is no discrimination between the type of googlebot as far as I can
see although it's
 > easy enough to add the complete U-A field into the message.
 >
 > What it doesn't give are all the Google IPs that visit you anonymously and
that have no
 > U-A or RDNS.
 >

Looks like a pretty terrible system .. when Google comes in, it can be a lot
.... 30,000 emails in the morning .. aaarrrgghh.

<a style='text-decoration: underline;' href="http://www.phpbuilder.com/columns/ying20000602.php3?print_mode=1" target="_blank">http://www.phpbuilder.com/columns/ying20000602.php3?print_mode=1</a> seems a
much better system, it's the one I use and allows me to see who is in the
site at a particular moment. Alternatively, run the previous code, but log
the results to a MySQL table.<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: PHP googlebot detector, does this code work? 
Back to top
Login to vote
newsdfn

External


Since: Jul 04, 2003
Posts: 3



(Msg. 4) Posted: Sun Jul 06, 2003 7:27 pm
Post subject: Re: PHP googlebot detector, does this code work? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <LwbNa.935$Gh5.6584367@news-text.cableinet.net>,
newsprofile DeleteThis @hotmail.com (elyob) wrote:

 > Looks like a pretty terrible system
 > .. when Google comes in, it can be a lot
 > ... 30,000 emails in the morning .. aaarrrgghh.

I agree about the script. Not something I would use, at least without making it one email
per IP per day and probably not even then.

A "current view" program is interesting but when one has dozens of sites to maintain it's
not really a starter. It's a bit stable door, but I find analyzing the logs periodically is
usually adequate.

--
Dave Stiles
<a style='text-decoration: underline;' href="http://shoppingdirectories.co.uk" target="_blank">http://shoppingdirectories.co.uk</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: PHP googlebot detector, does this code work? 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Preload -- How does it work? - Hello everyone, Have a basic question about preloading image files for browser's cache. I am creating a few webpages that share the same .gif files for logo and rollover buttons. On the home page, I use DreamWeaver MX's Preload action to preload..
   Web Hosting and Web Master Forums (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]