class UASparser.php example
----- array view -----
Researched useragent: Current
Array
(
[typ] => Robot
[ua_family] => CCBot
[ua_name] => CCBot/1.0
[ua_url] => http://www.commoncrawl.org/faq.htm
[ua_company] => CommonCrawl Foundation
[ua_company_url] => http://www.commoncrawl.org/
[ua_icon] => bot.png
[ua_info_url] => http://user-agent-string.info/list-of-ua/bot-detail?bot=CCBot
[os_family] => unknown
[os_name] => unknown
[os_url] => unknown
[os_company] => unknown
[os_company_url] => unknown
[os_icon] => unknown.png
)
----- formatted view -----
Researched useragent: Current
Robot -
CCBot/1.0 --> UA info
Researched useragent: libwww-perl/5.812
Library -
libwww-perl 5.812 --> UA info
Researched useragent: Klondike/1.50 (HTTP Win32)
Wap Browser -
Klondike 1.50 run on
Windows --> UA info
Researched useragent: Googlebot-Image/1.0
Robot -
Googlebot-Image/1.0 --> UA info
Researched useragent: W3C_Validator/1.654
Validator -
W3C Validator 1.654 --> UA info
user-agent-string.info:
UASparser - UASparser_example.php - source code
- this script use lib UASparser.php from http://user-agent-string.info/download/UASparser