标签:style class blog code java http
<?php $forasp = strtolower($_SERVER[‘HTTP_USER_AGENT‘]); if(strpos($forasp,‘mobile‘)==true) { echo "The Client is Mobile!"; }else { echo "The Client is PC!"; } ?>
php验证是否为手机端还是PC,布布扣,bubuko.com
标签:style class blog code java http
原文地址:http://www.cnblogs.com/mssql8/p/3772046.html