随着最近升级到chrome 35,get_browser无法再看到浏览器版本。还有其他人有这个问题吗?如果是这样,有关如何解决此问题的任何想法?
Chrome版本35的当前输出。*
Array
(
[browser_name_regex] => �^mozilla/5\.0 \(.*mac os x 10_9.*\) applewebkit/.* \(khtml, like gecko\).*chrome/.*safari/.*$�
[browser_name_pattern] => Mozilla/5.0 (*Mac OS X 10_9*) AppleWebKit/* (KHTML, like Gecko)*Chrome/*Safari/*
[parent] => Chrome Generic
[platform] => MacOSX
[platform_version] => 10.9
[comment] => Chrome Generic
[browser] => Chrome
[cssversion] => 1
[version] => 0.0
[majorver] => 0
[minorver] => 0
[alpha] =>
[beta] =>
[win16] =>
[win32] =>
[win64] =>
[frames] =>
[iframes] =>
[tables] =>
[cookies] =>
[backgroundsounds] =>
[javascript] =>
[vbscript] =>
[javaapplets] =>
[activexcontrols] =>
[ismobiledevice] =>
[issyndicationreader] =>
[crawler] =>
[aolversion] => 0
)
答案 0 :(得分:2)
它应该与更新的browscap.ini文件一起使用。更新您的browscap.ini文件
您可以在此处测试Chrome 35用户代理