Universal error message handler created
PHP does a nice job of including files within files on the server before they are viewed in a browser. If there are standard header/footer files to include, I can use the same universal error message handler file and the same lines of code in the .htaccess file to redirect all errors to this one file, which includes the header and footer (to look like the rest of the site), and it can display a custom message per error status code via $_SERVER[‘REDIRECT_STATUS’] and other variables.
The nicest thing about this system is that I can use nearly the exact same file for all of my sites, and it will match the design of each site. Considering there are 30 different HTTP error status codes, this saves a lot of time.