How does PHP correctly determine the browser used by the customer to access?
ringa_lee
ringa_lee 2017-05-16 12:59:13
0
2
349

RT, but many browsers now use browsers from other companies, resulting in inaccurate judgment. For example, when I use QQ browser to visit, the records are from Google...
Is there any accurate way to determine the browser used by the user to access?

ringa_lee
ringa_lee

ringa_lee

reply all(2)
曾经蜡笔没有小新

The logo of QQ browser is QQ Browser. Like 360, I don’t know how to judge it at the moment

洪涛

Use priority to judge
There are several types of the same UA.
Such as WeChat

  • MicroMessenger

  • webkit

  • iphone

When you judge, judge firstMicroMessenger. If so, stop judging. Others can be deduced in this way

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template