note 107829 deleted from function.get-browser by danbrown
| From: | danbrown@php.net | Date: | Thu, 10 May 2012 18:17:28 +0000 |
| Subject: | note 107829 deleted from function.get-browser by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-187750@lists.php.net to get a copy of this message | ||
Note Submitter: bondhalhey at gmail dot com
----
Hi @kaahzix: In order for your function getBrowser() to check Chrome properly, the preg_match() for
Chrome has to come before the preg_match() for Safari.
Otherwise Chrome is detected as Safarai (atleast in the latest version of Chrome)