mte01
asked on
Site-level Error Handling
Hey experts,
I have a LAMP website and it's in its final stages right now prior to going live. Currently, any PHP (or such) error that occurs will be displayed on the corresponding webpage; what I want to happen is that when an error occurs, the user would be re-directed to a user-friendly webpage (it would have the classic message: an error has occurred; webmaster has been notified...etc), and I want an e-mail to be sent to the webmaster e-mail address; I know how to do such a thing on a .NET website, but I don't know how to do it on such a PHP site; any help or guidelines on how to do such error handling.
I have a LAMP website and it's in its final stages right now prior to going live. Currently, any PHP (or such) error that occurs will be displayed on the corresponding webpage; what I want to happen is that when an error occurs, the user would be re-directed to a user-friendly webpage (it would have the classic message: an error has occurred; webmaster has been notified...etc), and I want an e-mail to be sent to the webmaster e-mail address; I know how to do such a thing on a .NET website, but I don't know how to do it on such a PHP site; any help or guidelines on how to do such error handling.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.