Bad Request
Error 400
The URL that you requested, was a bad request.
If this problem persists please report it by sending an e-mail to '.$email.', mentioning the error message received and the page you were trying to reach. We are sorry for any inconvenience caused and we will do all we can to fix the error as soon as possible.
'; break; # Error 401 - Authorization Required case 401: $errorname = 'Error 401 - Authorization Required'; $errordesc = 'Error 401
The URL that you requested, requires pre-authorization to access.
If this problem persists please report it by sending an e-mail to '.$email.', mentioning the error message received and the page you were trying to reach. We are sorry for any inconvenience caused and we will do all we can to fix the error as soon as possible.
'; break; # Error 403 - Access Forbidden case 403: $errorname = 'Error 403 - Access Forbidden'; $errordesc = 'Error 403
Access to the URL that you requested, is forbidden.
If this problem persists please report it by sending an e-mail to '.$email.', mentioning the error message received and the page you were trying to reach. We are sorry for any inconvenience caused and we will do all we can to fix the error as soon as possible.
'; break; # Error 404 - Page Not Found case 404: $errorname = 'Error 404 - Page Not Found'; $errordesc = 'Error 404
Were sorry but the page you are looking for cannot be found.
If this problem persists please report it by sending an e-mail to '.$email.', mentioning the error message received and the page you were trying to reach. We are sorry for any inconvenience caused and we will do all we can to fix the error as soon as possible.
'; break; # Error 500 - Server Configuration Error case 500: $errorname = 'Error 500 - Server Configuration Error'; $errordesc = 'Error 500
The URL that you requested, resulted in a server configuration error. It is possible that the condition causing the problem will be gone by the time you finish reading this.
If this problem persists please report it by sending an e-mail to '.$email.', mentioning the error message received and the page you were trying to reach. We are sorry for any inconvenience caused and we will do all we can to fix the error as soon as possible.
'; break; # Unknown error default: $errorname = 'Unknown Error'; $errordesc = 'The URL that you requested, resulted in an unknown error. It is possible that the condition causing the problem will be gone by the time you finish reading this.
If this problem persists please report it by sending an e-mail to '.$email.', mentioning the error message received and the page you were trying to reach. We are sorry for any inconvenience caused and we will do all we can to fix the error as soon as possible.
'; } // Display selected error message echo($errordesc); if (!$referring_url == '') { echo ''; } else { echo ''; echo 'Dynamic Error Pages from Sabre Web Design.
'; // E-mail section. Delete if you do not want to be sent e-mail notifications of errors. $datetime = date("l dS of F Y - H:i:s"); $message .= 'The following error has been received on '.$datetime.''; $message .= '