下載地址
程序就是一個文件,下載之后直接引用就可以,基于MIT License協議開源的PHP程序
使用方法:
復制代碼 代碼如下:
<?php
include("Mobile_Detect.php");
$detect = new Mobile_Detect();
if ($detect->isMobile()) {
// any mobile platform
echo 'isMobile';
}
else{
echo 'isPC';
}
?>
|
新聞熱點
疑難解答