The question is, how to detect any IE version using PHP?
I seen PHP scripts that detect specific versions of IE, but I was unable to find a way to detect any version of IE. Thanks for your help.
The question is, how to detect any IE version using PHP?
I seen PHP scripts that detect specific versions of IE, but I was unable to find a way to detect any version of IE. Thanks for your help.
<?php
function ae_detect_ie()
{
if (isset($_SERVER['HTTP_USER_AGENT']) &&
(strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false))
return true;
else
return false;
}
?>
taken from : http://www.anyexample.com/programming/php/how_to_detect_internet_explorer_with_php.xml