Re: Configuring the error suppression
| From: | John Meyer | Date: | Tue, 09 May 2006 12:33:49 +0000 |
| Subject: | Re: Configuring the error suppression | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-235791@lists.php.net to get a copy of this message | ||
IG wrote:
John Meyer wrote:I didn't get that last e-mail, and I'm on a design web server, not an actual production server.Is there anyway to make PHP normally suppress errors, but a piece of code that would show errors on a particular page?Sorry forgot to mention how you show errors on a particular page- you would use- ini_set('display_errors', '1'); But are you sure you want to do this? Showing errors to your users is NOT a good idea as it can open your server up to all kinds of security issues. Why not use the log parser idea that I said in my last mail?