PHP machine Error handler is multi-platform compatible. This code snippet can be used to trap errors in your PHP scripts. The main function is GetErrorDescription, it takes five arguments, the error type, the error message, the file the error occurred in, the line number where the error occurred, and an array containing the variables initialized and available at the time of the error. Each of these parameters is provided by PHP whenever an error occurs. The function returns HTML content that can be displayed on the page, saved to a file, e-mailed to the webmaster, or anything else that you can think of!
| Author:
Www.phpmachine.com Price: Free Version: 1.0 Platform(s): Unix/Linux/Windows |
Rating:
Total Votes: 23 |
Visit Site | Bookmark | Digg It! | Stumbleupon! | Send to a Friend | Report Bad Link
More PHP Error Handling Scripts:
