Download -> UASparser -> UASparser for PHP

UASparser is a standalone class (PHP5) for the uas.ini datafile.

Features

  • Fast
  • Standalone
  • Useragent auto-detection
  • Auto updated datafile and cache from remote server with version checking and checksum datafile
  • Released under the GNU (LGPL v.3)

QuickStart

  • Download the UASparser package and unpack it
  • Create cache dir. Change permissions of cache dir, must be writable for phpscript process.
  • Create a .php file with the following content:
Download latest version      

Result

Array
(
    [typ] => browser
    [ua_family] => Firefox
    [ua_name] => Firefox 3.0.8
    [ua_url] => http://www.mozilla.org/products/firefox/
    [ua_company] => Mozilla Foundation
    [ua_company_url] => http://www.mozilla.org/
    [ua_icon] => firefox.png
    [ua_info_url] => http://user-agent-string.info/list-of-ua/browser-detail?browser=Firefox
    [os_family] => Windows
    [os_name] => Windows XP
    [os_url] => http://www.microsoft.com/windowsxp/default.mspx
    [os_company] => Microsoft Corporation.
    [os_company_url] => http://www.microsoft.com/
    [os_icon] => windowsxp.png
)

Further information




UASparser use
SAREtruelogice-planning (Caraytech S.A.)DirectIQ, LLC.




© 2005-2012 Jaroslav Mallat External link - Recently Added UserAgent to DB - RSS - Contact