HTTP Status Codes

kbjradmin

New Member
Messages
512
Reaction score
2
Points
0
I've always been annoyed with having to go and get definitions for all of the main HTTP status codes (like 404 and 500) every time I make a website. It's not exactly difficult, but it gets old after a while. So, I decided to make a document that would contain them all for later use. It's just a PHP array, but I've found that having the file on hand makes making error pages that much easier. Seeing as I spent some time on this, I figured I would post it up here so that anyone else who wants to can get it. It contains all of the main HTTP status codes (yes, all of them...) and is very easy to incorporate into a website.

The file is attached. It's pretty self explanatory.
 

Attachments

  • error.config.php.zip
    3.4 KB · Views: 7
Top