php判断访问者是否手机客户端实例
方法一:判断HTTP_USER_AGENT$agent=strtolower($_SERVER['HTTP_USER_AGENT']);if(strpos($agent,"netfront")||strpos($agent,"iphone")||strpos($agent,"midp-2.0")||strpos($agent,"operamini")||st...
关于 判断设备 的文章共有1条
方法一:判断HTTP_USER_AGENT$agent=strtolower($_SERVER['HTTP_USER_AGENT']);if(strpos($agent,"netfront")||strpos($agent,"iphone")||strpos($agent,"midp-2.0")||strpos($agent,"operamini")||st...