Home > Backend Development > PHP Tutorial > PHP怎么判断浏览器是否为IE6.0

PHP怎么判断浏览器是否为IE6.0

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 10:39:23
Original
960 people have browsed it

PHP如何判断浏览器是否为IE6.0

if(strpos($_SERVER['HTTP_USER_AGENT'],'MSIE 6.0') !== false ){    //not ie 6.0}else{    //ie 6.0}
Copy after login


如果去掉6.0的话就只检查是不是IE
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
6.0 cannot be installed via git
From 1970-01-01 08:00:00
0
0
0
tp 6.0 data query, please help!
From 1970-01-01 08:00:00
0
0
0
objective-c - cocoaPods 的 podFile
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template