PHP移动浏览器检测? [英] PHP mobile browser detection?

查看:78
本文介绍了PHP移动浏览器检测?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要一种在服务器端检测移动浏览器的方法.我想要一种方法,它几乎不需要做任何设置,也不需要维护,但仍然可以(至少非常准确地)为我提供对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是移动浏览器检测的最终方法,并且

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

这篇关于PHP移动浏览器检测?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆