Posted by Chris Shiflett on 05/21/05 00:32
Graham Anderson wrote:
> are there any php methods that can accurately determine who the client is?
> mine is pretty basic...if I am a browser, then deny access
What you want is not possible. I guarantee you that I can make it so
that you can't tell whether a particular request I send is coming from
Firefox or just me copy/pasting an identical request into a raw telnet
connection.
Why is it important for you to deny access to certain user agents? I
don't quite understand your problem. In fact, I find it annoying when a
web application forces me to spoof my user agent just to use it.
Chris
--
Chris Shiflett
Brain Bulb, The PHP Consultancy
http://brainbulb.com/
[Back to original message]
|