作者:bb | 来源:互联网 | 2018-05-22 13:45
php如何区别电脑浏览器和手机浏览器。。。给个详细的方法。。。
回复内容:
php如何区别电脑浏览器和手机浏览器。。。给个详细的方法。。。
The lightweight PHP class for detecting mobile devices (including tablets).
http://mobiledetect.net/
源码:https://github.com/serbanghita/Mobile-Detect/blob/master/Mobile_Detect.php