Browser.php updated to v1.6

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/

3 Comments so far »

  1. Andrew Osiname said

    November 23 2009 @ 7:29 am

    Excellent class file. I use it to plot browser statistics on my website (still in development).

  2. Kcko said

    November 25 2009 @ 1:41 pm

    Cool job. Usefull class file. :)

  3. berdn said

    February 8 2010 @ 12:41 pm

    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

Comment RSS · TrackBack URI

Leave a comment

Name: (Required)

Email: (Required)

Website:

Comment: