WhichBrowser
Browser sniffing gone too far — A useragent parser library for PHP
This is an extremely complicated and almost completely useless browser-sniffing library. Useless because you shouldn't use browser sniffing. So stop right now and go read something about feature detecting instead. I'm serious. Go away. You'll thank me later. There is always an exception to the rule. There are valid reasons to do browser sniffing: to improve the user experience or to gather intelligence about which browsers are used on your website. My website is html5test.com and I wanted...