PHP function Detect IE5 or IE6
function getMSIE6() {
$userAgent = strtolower($_SERVER["HTTP_USER_AGENT"]);
if (ereg("msie 6", $userAgent) || ereg("msie 5", $userAgent)) {
return true;
}
return false;
}
function getMSIE6() {
$userAgent = strtolower($_SERVER["HTTP_USER_AGENT"]);
if (ereg("msie 6", $userAgent) || ereg("msie 5", $userAgent)) {
return true;
}
return false;
}