Re: Writing out errors to a file
| From: | Jim Giner | Date: | Fri, 04 Nov 2011 01:04:09 +0000 |
| Subject: | Re: Writing out errors to a file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-315587@lists.php.net to get a copy of this message | ||
Try reading the manual on "set_error_handler". I've never needed to do this
kind of thing, but this sure looks like something that could do it.
Basically, I'm imagining that it would open a file handle on some text file
in some folder, then append a write of mysql_error() to that file and
probably the line number and such and then close it.