摘要: /** * 是否是手机设备浏览 * @param string $user_agent 代理参数 * @return boolean 返回布尔值 */function is_mobile($user_agent){ $user_agent = strtolower($user_agent); $is 阅读全文
posted @ 2018-05-10 14:07 jierong 阅读(250) 评论(0) 推荐(0)
摘要: 1、判断是否是手机端 ? 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 function isMobile() { // 如果有HTTP_X_WAP_PROFILE则一定是移动设备 if (iss 阅读全文
posted @ 2018-05-10 11:36 jierong 阅读(5256) 评论(0) 推荐(0)