$error_type = $_SERVER['QUERY_STRING'];
$ref = $_SERVER['HTTP_REFERER'];
$ref_msg = "Refering URL (link arrived from): ".$ref."
";
if ($error_type == "") {
$error_type = "unknown";
}
$time = time()-date('Z')+(date('I')*3600);
$link = 'webmaster@netuse.co.uk';
define("_BBC_PAGE_NAME", "error ".$error_type);
define("_BBCLONE_DIR", "stats/others/error/");
define("COUNTER", _BBCLONE_DIR."mark_page.php");
if (is_readable(COUNTER)) include_once(COUNTER);
?>
NetUse Servers - Error

if ($error_type == '400') {
?>
Syntax Error.
Please check that you have the correct URL (web page address).
If this was the result of a link, please report this to
Please state which webpage/link you arrived here from.
Thank you.
} else if ($error_type == '401') {
?>
Authorization Denied.
If you believe that you have permission to view this site, then please send an e-mail to
stating how the problem occured and any other information you feel is relevant.
Please state which webpage/link you arrived here from.
Thank you.
} else if ($error_type == '403') {
?>
Forbidden.
If you believe that you have permission to view this site, then please send an e-mail to
stating how the problem occured and any other information you feel is relevant.
Please state which webpage/link you arrived here from.
Thank you.
} else if ($error_type == '404') {
?>
Not Found.
The web page you are looking for does not exist.
This error has been logged and will be investigated further.
Any queries should be sent to
echo $ref;
} else if ($error_type == '405') {
?>
Method Not Allowed.
The method specified in the Request-Line is not allowed.
This error has been logged and will be investigated further.
Any queries should be sent to
echo $ref;
} else if ($error_type == '406') {
?>
Not Acceptable.
This error has been logged and will be investigated further.
Any queries should be sent to
echo $ref;
} else if ($error_type == '407') {
?>
Proxy Authentication Required.
If you believe that you have permission to view this site, or you do not understand why this error has occured, please send an e-mail to
stating how the problem occured and any other information you feel is relevant.
Please state which webpage/link you arrived here from.
Thank you.
} else if ($error_type == '408') {
?>
Request Timeout.
Please go back and try again. Otherwise please try again later.
If this problem persists please send an e-mail to stating how the problem occured and any other information you feel is relevant.
This error has been logged and will be investigated further.
echo $ref;
} else if ($error_type == '409') {
?>
Conflict.
Please go back and try again. Otherwise please try again later.
If this problem persists please send an e-mail to stating how the problem occured and any other information you feel is relevant.
This error has been logged and will be investigated further.
echo $ref;
} else if ($error_type == '410') {
?>
No Longer Available.
Please go back to the beginning and start again.
If this problem persists please send an e-mail to stating how the problem occured and any other information you feel is relevant.
This error has been logged and will be investigated further.
echo $ref;
} else if ($error_type == '411') {
?>
Length Required.
The server refuses to accept the request without a defined Content-Length.
This error has been logged and will be investigated further.
Any queries should be sent to
echo $ref;
} else if ($error_type == '412') {
?>
Precondition Failed.
The precondition given in one or more of the request-header fields, has evaluated to false when it was tested on the server.
This error has been logged and will be investigated further.
Any queries should be sent to
echo $ref;
} else if ($error_type == '413') {
?>
Request Entity Too Large.
The server is refusing to process a request because the request entity is larger than the server is willing to process.
You may wish to go back and try again. Otherwise please try again later.
If this problem persists please send an e-mail to stating how the problem occured and any other information you feel is relevant.
This error has been logged and will be investigated further.
echo $ref;
} else if ($error_type == '414') {
?>
Request-URI Too Long.
The server is refusing to service the request because the Request-URI is longer than the server is willing to interpret.
You may wish to go back and try again. Otherwise please try again later.
If this problem persists please send an e-mail to stating how the problem occured and any other information you feel is relevant.
This error has been logged and will be investigated further.
echo $ref;
} else if ($error_type == '415') {
?>
Unsupported Media Type.
The server is refusing to service the request because the entity of the request is in a format not supported by the requested resource for the requested method.
You may wish to go back and try again. Otherwise please try again later.
If this problem persists please send an e-mail to stating how the problem occured and any other information you feel is relevant.
This error has been logged and will be investigated further.
echo $ref;
} else if ($error_type == '500') {
?>
Internal Server Error.
The server is unable to load the document you have requested.
You may wish to go back and try again. Otherwise please try again later.
If this problem persists please send an e-mail to stating how the problem occured and any other information you feel is relevant.
This error has been logged and will be investigated further.
echo $ref;
} else if ($error_type == '501') {
?>
Not Implemented.
The server is unable to comply. Please make sure you filled in the required information (if any).
You may wish to go back and try again. Otherwise please try again later.
If this problem persists please send an e-mail to stating how the problem occured and any other information you feel is relevant.
This error has been logged and will be investigated further.
echo $ref;
} else if ($error_type == '502') {
?>
Bad Gateway.
The server is unable to comply, as, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request.
You may wish to go back and try again. Otherwise please try again later.
If this problem persists please send an e-mail to stating how the problem occured and any other information you feel is relevant.
This error has been logged and will be investigated further.
echo $ref;
} else if ($error_type == '503') {
?>
Service Unavailable.
The server is currently unable to handle the request due to a temporary overloading or maintenance of the server.
You may wish to go back and try again. Otherwise please try again later.
If this problem persists please send an e-mail to stating how the problem occured and any other information you feel is relevant.
This error has been logged and will be investigated further.
echo $ref;
} else if ($error_type == '504') {
?>
Gateway Timeout.
The server is unable to comply, as, while acting as a gateway or proxy, did not receive a timely response from the upstream server it accessed in attempting to complete the request.
You may wish to go back and try again. Otherwise please try again later.
If this problem persists please send an e-mail to stating how the problem occured and any other information you feel is relevant.
This error has been logged and will be investigated further.
echo $ref;
} else if ($error_type == '505') {
?>
HTTP Version Not Supported.
The server does not support, or refuses to support, the HTTP protocol version that was used in the request message.
You may wish to go back and try again. Otherwise please try again later.
If this problem persists please send an e-mail to stating how the problem occured and any other information you feel is relevant.
This error has been logged and will be investigated further.
echo $ref;
} else {
?>
Unknown or Unsupported Error.
The server has encountered an error that is not currently supported.
You may wish to go back and try again. Otherwise please try again later.
If this problem persists please send an e-mail to stating how the problem occured and any other information you feel is relevant.
This error has been logged and will be investigated further.
echo $ref;
}
?>