Internet Explorer 6 Compatibility (or lack of)
Jul 28, 2009

Although this site works almost perfectly well in Internet Explorer 6 (which is amazing since I did not take it into account when building it) I’ve decided to put in an interesting easter egg for those users uninformed enough to still be using it.

Whenever the site detects a user using Internet Explorer 6, they will be redirected to the Fatal Exception Error page.

This change will only affect around 13% of actual Internet users, but I think these users need to know that Internet Explorer 6 should never be used!

3 Responses to “Internet Explorer 6 Compatibility (or lack of)”

  1. Anony says:
     

    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.13) Gecko/2009073022 Firefox/3.0.13 (.NET CLR 3.5.30729) and I arrived on your fatal page… doesn’t seem correct to me

  2. dVyper says:
     

    I’m sorry about that :(
    It seems there doesn’t seem to be a 100% working solution for detecting IE6 with php. I tried a few code samples but they all seemed to be inconsistent in their results. I even considered using the ‘[if IE 6]‘ tag and using a Meta refresh but decided against it.

  3. Richard Garlick says:
     

    Try
    <?
    $browser = $_SERVER['HTTP_USER_AGENT'];
    $browserArray = array(’MSIE 6.0′, ‘MSIE 7.0′, ‘MSIE 8.0′, ‘Chrome’, ‘Opera’, ‘Navigator’, ‘Version’, ‘Firefox’, ‘Camino’);
    for($x=0;$x<count($browserArray); $x++){
    $result = stripos(’ ‘.$browser, $browserArray[$x]);
    if($result 0) {$standard_browser=true;escape;}

    $user_browser = ‘MSIE 6.0′;
    $result = stripos(’ ‘.$browser, $user_browser);
    if($result == TRUE) {
    echo ‘BOOOOOO! IE6 USER’;
    }
    $user_browser = ‘Firefox’;
    $result = stripos(’ ‘.$browser, $user_browser);
    if($result == TRUE) {
    echo ‘Yay! Firefox USER’;
    }
    ?>

    Hope this helps…

Add a Comment