404 Not Found

\n"; } function get_mime_type ($choices=null) { $A = $_SERVER['HTTP_ACCEPT']; if ($choices===null) $choices = array('text/html','application/xhtml+xml','text/xml','application/xml','text/plain'); foreach ($choices as $t) { $pos[$t] = stristr($A, $t); if ($pos[$t]===FALSE) unset($pos[$t]); } if (count($pos)) { asort($pos); $M = each($pos); /* unusual use of each()! */ $M = $M[0]; } else $M = $choices[0]; return $M; }