摘要:
转自:http://www.oschina.net/p/php-mobile-detectphp-mobile-detect (Mobile_Detect) 是一个 PHP 类,用来通过 User-Agent 检测各种手机设备。示例代码:include("Mobile_Detect.php");$detect =newMobile_Detect();if($detect->iOS()){ // code to run for the Apple iOS platform.}if($detect->isAndroidOS()){ // code to run fo 阅读全文