404.phpfile: No editing required, just include and done. To disable the email reporting, either remove the script or comment-out the
mail()function, like so: Note that any of the variables (e.g.,
$request, et al) are available for use elsewhere on the page. For example, you could display the information to the visitor to help deliver a useful 404 page. Here is a screenshot showing how the email alerts will look in your inbox. Update! Thanks to Drew Jaynes for sharing his OOP-enhanced version of the 404-email script. Muy bueno!!
There are no differences between the September 2, 2015 @ 14:25:47 revision and the current revision. (Maybe only post meta information was changed.)