会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
大家猴啊
首页
新随笔
订阅
管理
2017年12月20日
php判断是移动端还是pc
摘要: //判断是否是手机 function is_mobile() { $agent = strtolower($_SERVER['HTTP_USER_AGENT']); $is_pc = (strpos($agent, 'windows nt')) ? true : false; $is_mac = (strpos($agent, 'mac os'))...
阅读全文
posted @ 2017-12-20 16:13 sangern
阅读(397)
评论(0)
推荐(0)
编辑
公告