note 56665 rejected from function.get-browser by nlopess
| From: | nlopess@php.net | Date: | Mon, 12 Sep 2005 08:04:16 +0000 |
| Subject: | note 56665 rejected from function.get-browser by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-95035@lists.php.net to get a copy of this message | ||
Note Submitter: cadu at ig dot com dot br
----
I think borwscap.ini from http://www.garykeith.com/browsers/downloads.asp
(recommended on this page) is the best way to get browser detection working. Unfortunately the PHP
parser is different from MS, but it's worse.
The author had to make a different version to work with PHP, because it looks for the first match,
and not for the best match. Currently PHP is telling users running Firefox they're running
Mozilla.
I hope PHP coders will fix it soon.