0; \$cond0b = strlen( stristr(\$_SERVER["HTTP_USER_AGENT"], "w3m") ) > 0; \$cond0c = strlen( stristr(\$_SERVER["HTTP_USER_AGENT"], "Lynx") ) > 0; \$cond1 = (! stristr(\$_SERVER["HTTP_ACCEPT"], "application/xhtml+xml")); \$cond2 = (! stristr(\$_SERVER["HTTP_USER_AGENT"], "W3C_Validator")); if ( \$serv and (\$cond0a or \$cond0b or \$cond0c) and \$cond1 and \$cond2 ) { /* hack IE into submission! */ header("Content-type: text/html; charset=utf-8"); echo ''; } else { header("Content-type: application/xhtml+xml"); echo ''; echo ''; } ?>
| © Copyright Timothy Stotts 2002, 2007. All rights reserved. | ^ top of page |