This class can be use to intercept and log PHP execution errors.
It can enable PHP execution error logging setting the file that logs error messages.
The class provides an error handler function that outputs a stack back-trace with the functions, arguments, file and lines of where an error occurs, as well the values of super-global variables $_GET, $_POST and $_FILES, and also the IP address of the current user accessing the site.
The class may also enable of disable the output of error messages to Web pages and change the error reporting level.
When used together with my Mysql class (or any other mysql class that calls trigger_error when there was mysql_error) it can effectively log all mysql errors with the complete stacktrace what you can inspect from the logfile later on.
Plus you can identify sql injections when someone's queries keep failing with error messages.
You can also specify error codes that exit the script execution plus your own callback function that will be called before exiting (good to display some nice error page to users before exiting script execution).
|
|
| Name: |
Simple error handling class |
| Base name: |
errormanager |
| Description: |
Intercept and log PHP execution errors |
| Version: |
- |
| PHP version: |
5.0 |
| License: |
GNU Lesser General Public License (LGPL) |
| All time users: |
1669 users |
| All time rank: |
2088 |
| Week users: |
3 users |
| Week rank: |
952  |
| |
|
| There are not enough user ratings to display for this class. |
| |
Packages that need this class |
|
|
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|