Detect a speeder

Started by CokeCan, June 24, 2005, 02:07:48 AM

Previous topic - Next topic

CokeCan

Hi, I am counting at a page evertime someone gets in but it also counts everytime a speeder gets in, is it posible to detect it? so it doesn't count it. I checked that when you install this it identificate the speeder at the forum: http://www.simplemachines.org/community/index.php?topic=19243.0
Does anybody know how I can do it?
Thanks in advanced

[Unknown]


Tristan Perry

Quote from: [Unknown] on June 24, 2005, 01:43:42 PM
A speeder?

-[Unknown]
Another name for I search engine bot, I think.

dtm.exe

Quote from: [Unknown] on June 24, 2005, 01:43:42 PM
A speeder?

-[Unknown]

I think he meant "spider" rather than "speeder".

-Dan The Man

[Unknown]

Use $_SERVER['HTTP_USER_AGENT'], then.

-[Unknown]

CokeCan

Yes, sorry I meant "Spider" :)

Quote from: [Unknown] on June 24, 2005, 01:47:33 PM
Use $_SERVER['HTTP_USER_AGENT'], then.
How can I use it? I am counting the hits with a $count++
How can I say if it's a spider don't count it?

[Unknown]

It's not that simple.  There are many different spiders, and each has its own user agent.

-[Unknown]

CokeCan

oh, ok so I will leave it in that way :)
Thanks!

Advertisement: