What is the correct way to detect Internet Explorer in PHP, any version, including IE 11?
Tried:
f(!(isset($_SERVER['HTTP_USER_AGENT']) && (strpos($_SERVER['HTTP_USER_AGENT'], 'Trident') !== false ||
strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false))){
The above does not work for me.
我在http://buffernow.com/get-browser-properties-without-browscap-in-php/找到了get_browser_properties函数
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.