使用方法:
复制代码 代码如下:
include("Mobile_Detect.php");$detect = new Mobile_Detect();if ($detect->isMobile()) { // any mobile platform echo 'isMobile';}else{ echo 'isPC';}?>
上一篇:js和php怎么验证邮箱地址
下一篇:如何在php中获取文件内容的最后一行