PHP手机浏览器检测?

2021-12-22 00:00:00 php browser-detection mobile

我需要一种检测移动浏览器服务器端的方法.我想要一种方法,它需要我做很少的设置和维护,但仍然为我提供(至少)Android、Mobile Safari 和 Blackberry 浏览器的准确检测,以及像 Opera 这样的替代品.

I'm in need of a way to detect mobile browsers server-side. I'd like a way that requires me to do little to set up and little to maintain, yet still provide me with accurate detection of (at the VERY least) Android, Mobile Safari and Blackberry browsers, along with alternatives like Opera.

我希望至少覆盖大部分移动市场,如果不需要太多,我真的更喜欢几乎所有市场.

I'd like to have at least the majority of the mobile market covered, and I'd really prefer virtually all of the market if it doesn't take much.

推荐答案

WURLF 是移动浏览器检测和PHP API 可用.

WURLF is the ultimate way for mobile browser detection and a PHP API is available.

相关文章