Home     PHP / Javascript / Ajax
PHP AAA Email Broken Links Script Script

PHP Script Codes > error-handling

AAA Email Broken Links Script Free

Rate: | Price: Free | Publisher: Office Site | Demo: | Views: 2906

PHP Script Codes > AAA Email Broken Links Script
This simple script will send you a email when a page hasn't been found on your server. This way you can easely keep track of broken links
It also emails the refered page where the visitor came from. It will print a error message and will redirect the visitor to another page.

// 1) place this script in the document root of your server.
// 2) create a .htaccess file with the following line: ErrorDocument 404 /404.php
// 3) edit the variables in 404.php
// 4) you are done! no broken links that you aren't aware of anymore!