note 15049 added to function.get-browser.php
| From: | carl at NOSPAM dot thep dot lu dot se | Date: | Sat, 25 Aug 2001 20:22:06 +0000 |
| Subject: | note 15049 added to function.get-browser.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17137@lists.php.net to get a copy of this message | ||
What's this obsession with determining the name and version number
of the browser? The whole point of this function is that you do NOT
need to know about specific browsers. In most cases where there is
checking for specific browser versions using browscap would've been
a superior solution, as it's the capabilities of the browser that matter,
not the name.
On countless occasions have I had to spoof as Mozilla just because some
retarded coder or webmaster thought that the world only has two working
browsers. Good enough reason to go on a killing spree if you ask me.
http://www.php.net/manual/en/function.get-browser.php