Bad Request
The URL that you requested — http://'.$server_name.$requested_url.' — does not exist on this server. You might want to re-check the spelling and the path.
An e-mail has been sent to me regarding the problem. I apologize for any inconvenience caused and will do all I can to fix the error as soon as possible.
You can use the menu at the top of the page or at the right to navigate to another section.
'; break; # Error 401 - Authorization Required case 401: $errorname = 'Error 401 - Authorization Required'; $errordesc = 'The URL that you requested requires pre-authorization to access.
An e-mail has been sent to me regarding the situation and, if it is an error, I will do all I can to fix it as soon as possible.
'; break; # Error 403 - Access Forbidden case 403: $errorname = 'Error 403 - Access Forbidden'; $errordesc = 'Access to the URL that you requested is forbidden.
An e-mail has been sent to me regarding the situation and, if it is an error, I will do all I can to fix it as soon as possible.
'; break; # Error 404 - Page Not Found case 404: $errorname = 'Error 404 - Page Not Found'; $errordesc = 'Ooops! The page you are looking for — http://'.$server_name.$requested_url.' — cannot be found. This may be because:
An e-mail has been sent to me regarding the problem. If you feel the URL you entered is correct, you can contact me by sending an e-mail to '."$email".', mentioning the error message received and the page you were trying to reach. I apologize for any inconvenience caused and I will do all I can to fix the error as soon as possible.
You can use the menu at the top of the page or at the right to navigate to another section.
'; break; # Error 500 - Server Configuration Error case 500: $errorname = 'Error 500 - Server Configuration Error'; $errordesc = 'The URL that you requested — http://'.$server_name.$requested_url.' — 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.
An e-mail has been sent to me regarding the problem. If this problem persists please report it to me by sending an e-mail to '."$email".', mentioning the error message received and the page you were trying to reach. I apologize for any inconvenience caused and I will do all I can to fix the error as soon as possible.
'; break; # Unknown error default: $errorname = 'Unknown Error'; $errordesc = 'The URL that you requested — http://'.$server_name.$requested_url.' — resulted in an unknown error. It is possible that the condition causing the problem will be gone by the time you finish reading this.
An e-mail has been sent to me regarding the problem. If this problem persists please report it to me by sending an e-mail to '."$email".', mentioning the error message received and the page you were trying to reach. I apologize for any inconvenience caused and I will do all I can to fix the error as soon as possible.
'; } // Display selected error message echo($errordesc); if (!$referring_url == '') { echo ''; } else { echo ''; // E-mail section. Delete if you do not want to be sent e-mail notifications of errors. $datetime = date("l, F d, Y - h:i:s A T"); $message .= 'The following error was received on '.$datetime.''; $message .= '