|
Custom Error Handling with PHP
|
Other links at PHP > Tutorials > Error Handling |
| 1. |
Custom Error Handling with PHP
|
|
|
Custom error documents are a valuable tool to have. Using this tutorial youll 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 youve re-designed your site recently or even moved some files around, this tutorial will show you how to use PHP and Apaches htaccess file to avoid losing traffic.
|
| 2. |
Mail on 404
|
|
|
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.
|
| 3. |
Custom 404 Error Page With Email Notification
|
|
|
A tutorial that shows you how to set up your site so that you receive an email whenever a visitor encounters a file not found error. Can easily be adopted for other errors such as 400 (Bad Request), 401 (Authorization Required), 403 (Forbidden), and 500 (Internal Server Error). Requires an Apache web server with PHP installed.
|
|
|