Re: Help: Constants
| From: | Erik Price | Date: | Tue, 02 Jul 2002 14:17:10 +0000 |
| Subject: | Re: Help: Constants | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-104915@lists.php.net to get a copy of this message | ||
On Tuesday, July 2, 2002, at 04:48 AM, Richard Lynch wrote:
Change it back. You'll find a lot more bugs a lot quicker that way. :-) Use E_ALL Might need to transition one page at a time with error_reporting() at the top or something, but migrate to E_ALL. You *will* benefit in the long run. Promise.Except in a production environment, where you really never want your users to see PHP error messages that you haven't coded yourself for the user's benefit. It could reveal just a bit too much about your setup... even filenames are valuable to maleficants. I recommend setting your php.ini to E_NONE and then putting error_reporting(E_ALL) at the top of each of your scripts, and then when the file is migrated to production, comment or remove the line. Erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown pricee@hhbrown.com