Version 1.6 of Browser.php has been released with a lot of updates: http://chrisschuld.com/projects/browser-php-detecting-a-users-browser-from-php/
Version 1.6 of Browser.php has been released with a lot of updates: http://chrisschuld.com/projects/browser-php-detecting-a-users-browser-from-php/
Excellent class file. I use it to plot browser statistics on my website (still in development).
Cool job. Usefull class file.
Very Usefull, but I have a problem with an iPhone and a iPod Touch:
‘Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1 like Mac OS X; de-de) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7C144 Safari/528.16′
‘Mozilla/5.0 (iPod; U; CPU iPhone OS 3_1_2 like Mac OS X; de-de) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7D11 Safari/528.16′
I change line ’771′ in
if( preg_match(‘/iPhone/i’,$this->_agent) && preg_match(‘/iPod/i’,$this->_agent) == 0 )
So it works bether for me