下面PHP自定义函数可以根据http头user-agent判断是否为手机访问,如果是则返回true: <?php /** * 判断是否是通过手机访问* @return bool 是否是移动设备*/ public ...
確定! 回上一頁