Not Found\n

" . htmlspecialchars(substr($MYSITE, 0, -1) . $_SERVER['REQUEST_URI']) . " not found on this server.

\n"; site_footer(); exit; } // A 'good looking' 404 error message page for manual pages function error_404_manual() { global $MYSITE; status_header(404); site_header('404 Not Found', array("noindex")); echo "

Not Found

\n" . "

The manual page you are looking for (" . htmlspecialchars(substr($MYSITE, 0, -1) . $_SERVER['REQUEST_URI']) . ") is not available on this server right now. " . "Please check back later, or if the problem persist, " . "contact the webmasters.

\n"; site_footer(); exit; } // This service is not working right now function error_noservice() { global $MYSITE; site_header('Service not working', array("noindex")); echo "

Service not working

\n" . "

The service you tried to access with " . htmlspecialchars(substr($MYSITE, 0, -1) . $_SERVER['REQUEST_URI']) . " is not available on this server right now. " . "Please check back later, or if the problem persist, " . "contact the webmasters.

\n"; site_footer(); exit; } // There is no such mirror function error_nomirror($mirror) { site_header("No such mirror", array("noindex")); echo "

No such mirror

\n

The mirror you tried to access (" . htmlspecialchars($mirror) . ") is not registered php.net mirror. Please check back later," . " or if the problem persist, " . "contact the webmasters.

\n"; site_footer(); exit; } // Send out a proper status header function status_header($num) { // Set status text switch ($num) { case 200: $status = "OK"; break; case 301: $status = "Moved Permanently"; break; case 302: $status = "Found"; break; case 404: $status = "Not Found"; break; default: return FALSE; } // Figure out HTTP protocol version - use 1.1 answer for 1.1 request, // answer with HTTP/1.0 for any other (ancient or futuristic) user switch (strtoupper($_SERVER['SERVER_PROTOCOL'])) { case 'HTTP/1.0': @header("HTTP/1.0 $num $status"); break; case 'HTTP/1.1': default: @header("HTTP/1.1 $num $status"); break; } // BC code for PHP < 4.3.0 @header("Status: $num $status", TRUE, $num); return TRUE; }