"Bad Request" Error Page - (Error Code
400)";
$error_output .= "The browser has made a Bad Request
";
$error_output .= "Contact
the system administrator";
$error_output .= " if you feel this to be in error";
break;
case 401:
$error_output = "
"Authorization Required" Error Page - (Error Code
401)
";
$error_output .= "You have supplied the wrong information to access a
secure area
";
$error_output .= "Contact
the system administrator";
$error_output .= " if you feel this to be in error";
break;
case 403:
$error_output = ""Forbidden Access" Error Page - (Error Code
403)
";
$error_output .= "You are denied access to this area
";
$error_output .= "Contact
the system administrator";
$error_output .= " if you feel this to be in error";
break;
case 404:
$error_output = ""Page Not Found" Error Page - (Error Code
404)
";
$error_output .= "The page you are looking for cannot be found
";
$error_output .= "Contact
the system administrator";
$error_output .= " if you feel this to be in error";
break;
case 500:
$error_output = ""Internal Server Error" Error Page - (Error Code
500)
";
$error_output .= "The server has encountered an internal error
";
$error_output .= "Contact
the system administrator";
$error_output .= " if you feel this to be in error";
break;
default:
$error_output = "Error Page
";
$error_output .= "This is the custom error Page
";
$error_output .= "You should be here";
}
?>
Beginning PHP, Apache, MySQL Web Development