This simple, free script, along with a few extra lines in your .htaccess file, allows the building of custom error pages on-the-fly. The coding principles and .htaccess requirements are discussed with examples, and a complete and commented PHP script is available for download. The script allows for email notification to the webmaster when errors occur, and gives users a link to redirect them back to the site's homepage.
FreeVersion: n/a Platform(s): linux, windows Updated: Tue Oct 4 2005
Learn to get control over how (or if) error messages are displayed to users, even though you're using several third-party libraries that each have their own views on handling errors.
Version: n/a Platform(s): n/a Updated: Sun Feb 3 2008
For those of you who take on massive coding tasks such as creating an entire site from scratch, you'll notice that it tends to become tedious to debug your code unless you've taken a few precautionary measures. This tutorial will start you off in the right direction. It won't make your code debuggable for you, but you'll have an idea on how to do it. Most code can be modified to fit the schema suited for debugging fairly easily, but this guide is written with a clean slate in mind; it will describe the process of preparing your code to be easily debuggable from scratch.
Version: n/a Platform(s): n/a Updated: Sun Feb 5 2006
A simple snippet of php code to insert in your custom 404 error page. It will send an e-mail when a visitor encounters a 404 page and certain conditions are met. The tutorial explains how the script works and where to insert the code.
Custom error documents are a valuable tool to have. Using this tutorial you'll be able to redirect any user to a specified location on your site if they have reached an error such as Error 404 - Document Not Found or Error 500 - Internal server Error. If you've re-designed your site recently or even moved some files around, this tutorial will show you how to use PHP and Apache's htaccess file to avoid losing traffic.