Currently:
$query=$HTTP_GET_VARS["q"]; output_search($query); ?>
$DOCUMENT_ROOT=$_SERVER['DOCUMENT_ROOT']; require("/$DOCUMENT_ROOT/blog.php3") ?> if (isset($PATH_INFO)) { if (preg_match("(\d{4})[-/](\d{2})[-/](\d{2})>",$PATH_INFO,$matches)) { $b=$matches[1]."-".$matches[2]."-".$matches[3]; } else if (preg_match("(\d{4})/(\d{2})>",$PATH_INFO,$matches)) { $y=$matches[1]; $m=(int)$matches[2]; } else if (preg_match("!/(\d{4})!",$PATH_INFO,$matches)) { $y=$matches[1]; } } ?>