. */ header("Vary: Accept"); if (stristr($_SERVER["HTTP_ACCEPT"], "application/xhtml+xml")) header("Content-Type: application/xhtml+xml; charset=utf-8"); else header("Content-Type: text/html; charset=utf-8"); function xhtml_header($title) { $newtitle = str_replace("&", "&", stripslashes($title)); print(' ' . $newtitle . '

' . $newtitle . '

'); } ?>