Return to Snippet

Revision: 31326
at September 3, 2010 01:02 by wireplay


Initial Code
<?php
function detect_msie()
{
    if (isset($_SERVER['HTTP_USER_AGENT']) && 
    (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 6.0') !== false))
        return true;
    else
        return false;
}
?>

Initial URL


Initial Description


Initial Title
PHP - Detect IE

Initial Tags
php

Initial Language
PHP