New here? Read Greetings Earthling!

Severely Lame PHP Web Browser Detection

I sometimes cloak regions of my site based on this really lame Browser Detection function. I don't cloack stuff that search engines would find illegal but there's moments when I need to keep some stuff away from 'obvious' non browsers.

So ... have fun with it: el_http_detectBrowser. And I do know there are better ways like a JavaScript that sets a COOKIE ;)

Zone unavailable to unregistered users.
Registration is quick, painless and worth its weight in gold.

If you have any user agents you'd like handled send me the strings in the comments. Just make sure that there's like ... 5 people out there using them.

Category: PHP

One Response

  1. Nice.

    Here is an interesting one for Javascript: http://www.quirksmode.org/js/detect.html