Deteksi IE5 atau IE6 - Trik CSS

Anonim
function getMSIE6() ( $userAgent = strtolower($_SERVER("HTTP_USER_AGENT")); if (ereg("msie 6", $userAgent) || ereg("msie 5", $userAgent)) ( return true; ) return false; )