note 114275 deleted from function.get-browser by cmb
| From: | cmb@php.net | Date: | Sun, 23 Feb 2020 08:58:02 +0000 |
| Subject: | note 114275 deleted from function.get-browser by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-214200@lists.php.net to get a copy of this message | ||
Note Submitter: cbonfrate at gmail dot com
----
You could add this to the ruudrp's code, to recognize MSIE 11
if(preg_match('/Trident/i', $u_agent) &&
!preg_match('/Opera/i',$u_agent))
{
$bname = 'Internet Explorer';
$ub = "Trident";
}