Re: Custom Error Handler

From: Date: Thu, 04 Jan 2001 21:19:13 +0000
Subject: Re: Custom Error Handler
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-32712@lists.php.net to get a copy of this message
hi paulo, in the binarycloud custom error code, we do a couple things: -we to insert all errors in the db -but, first we check to see if there is a database connection, so we won't run into problems getting errors about errors :) the first release of binarycloud was dumb, we've corrected the dyumbness for r1a, which will be out in about a week. :) -- Alex Black, Head Monkey enigma@turingstudio.com The Turing Studio, Inc. http://www.turingstudio.com vox+510.666.0074 fax+510.666.0093 Saul Zaentz Film Center 2600 Tenth St Suite 433 Berkeley, CA 94710-2522 > From: php@brazilinfo.com ("Paulo Parola") > Newsgroups: php.general > Date: 4 Jan 2001 10:37:50 -0800 > Subject: [PHP] Custom Error Handler > > Is it OK to log error information to a database inside my customized error > handler, setup by calling something like > > $old_error_handler = set_error_handler("myErrorHandler"); > > or should I preferably only use function 'error_log' inside it? > > What happens if for example my database connection generates an error inside > my error handler? > > TIA, > Paulo > > >

« previous php.general (#32712) next »