PHP mobile browser detection?(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 是移动浏览器检测和PHP API 可用.
WURLF is the ultimate way for mobile browser detection and a PHP API is available.
这篇关于PHP手机浏览器检测?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:PHP手机浏览器检测?
基础教程推荐
- 学说 dbal querybuilder 作为准备好的语句 2022-01-01
- Cron Jobs 调用带有变量的 PHP 脚本 2022-01-01
- 如何在 Laravel 中使用 React Router? 2022-01-01
- 如何替换eregi() 2022-01-01
- 在PHP中根据W3C规范Unicode 2022-01-01
- PHP PDO MySQL 查询 LIKE ->多个关键词 2021-01-01
- YouTube API v3 点赞视频,但计数器不增加 2022-01-01
- 有什么方法可以用编码 UTF-8 而不是 Unicode 返回 PHP`json_encode`? 2021-01-01
- PHP 类:全局变量作为类中的属性 2021-01-01
- 如何在 Laravel 5.3 注册中添加动态下拉列表列? 2021-01-01
