是否有推荐的方法来使用 zf2 执行移动或浏览器检查/检测?我很惊讶似乎没有开发模块来处理这个......
问问题
1491 次
2 回答
2
我找到了一些方法来做到这一点:
- https://github.com/rainphp/useragent
- https://github.com/serbanghita/Mobile-Detect ( http://mobiledetect.net )
- https://github.com/garetjax/phpbrowscap
或者通过 PHP 类
你可以在网上找到很多片段,像这样
于 2013-05-27T07:51:13.850 回答
0
于 2015-01-02T12:53:56.723 回答