note 84125 added to errorfunc.examples

From: Date: Mon, 30 Jun 2008 03:29:54 +0000
Subject: note 84125 added to errorfunc.examples
Groups: php.notes 
Request: Send a blank email to php-notes+get-140994@lists.php.net to get a copy of this message
Providing an example... eac_error.class is a PHP static utility class for error handling. It is intended to be used throughout the PHP application for capture and reporting of errors and exceptions. The error handling routine in eac_error.class is designed to provide detailed state information for the developer or administrator while still maintaining a secure environment. Error messages are only presented to the web user on true error conditions and do not include information that may be used to compromise the system. Notifications are sent to the webmaster/administrator in an encrypted state (using GnuPG) so that critical, private information cannot be intercepted in transit. Features GnuPG encrypted email sent to the web administrator. Detailed system information included with email. Function and class trace back information included. Log errors to a single file or multiple files based on severity (fatal, error, warning ,notice). Send email notice for each error or for all errors at the end of script execution. Suppress or allow options (email, display, logging, etc.) when error is triggered. Provide a program-designated error code with the error message. Set a callback function to display errors and abort processing. Include user-defined data in the error notification email. Error condition detectable by AJAX and CURL. http://www.kevinburkholder.com/sw_error.php ---- Server IP: 69.147.83.197 Probable Submitter: 24.115.33.151 ---- Manual Page -- http://www.php.net/manual/en/errorfunc.examples.php Edit -- https://master.php.net/note/edit/84125 Del: integrated -- https://master.php.net/note/delete/84125/integrated Del: useless -- https://master.php.net/note/delete/84125/useless Del: bad code -- https://master.php.net/note/delete/84125/bad+code Del: spam -- https://master.php.net/note/delete/84125/spam Del: non-english -- https://master.php.net/note/delete/84125/non-english Del: in docs -- https://master.php.net/note/delete/84125/in+docs Del: other reasons-- https://master.php.net/note/delete/84125 Reject -- https://master.php.net/note/reject/84125 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#140994) next »