IE6

perhaps this before the doctype:

function detect_ie() {
            if (isset($_SERVER['HTTP_USER_AGENT']) &&
(strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== false))
                    return true;
                else
                    return false;
        }
        if(!detect_ie()){
            $mime= "application/xhtml+xml; ";
        }
        else {
            $mime= "text/html; ";
        }
        header('Content-type: ' . $mime);
        header('Vary: User-Agent');

        if($mime = "application/xhtml+xml; "){
            echo "<?xml version='1.0' encoding='utf-8' ?>";
        }

and this in the head:
<meta http-equiv="Content-Type" content="<?php echo
$mime; ?>charset=utf-8" />

Regards,

Ken

Received on Wednesday, 25 November 2009 23:18:35 UTC