"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?