Re[2]: [PHP] Friday morning brain farts....

From: Date: Fri, 10 Aug 2007 15:18:28 +0000
Subject: Re[2]: [PHP] Friday morning brain farts....
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-260587@lists.php.net to get a copy of this message
Hi Robert, Friday, August 10, 2007, 4:13:02 PM, you wrote: > On Fri, 2007-08-10 at 11:00 -0400, Daniel Brown wrote: >> >> Remember to clean that input before you sit down at the table, there, boy! >> >> It's safe to ignore the Undefined index notices. >> That will just >> appear if a variable is referenced without first being instantiated or >> defined. No biggie, just put this at the head of your code: >> >> ini_set("error_reporting",E_ALL & ~E_NOTICE); > I'm in the "that's sloppy and poor style" camp for the above setting. I've got to agree. A clean E_ALL error log is a good error log. It's not like it's hard to fix. Cheers, Rich -- Zend Certified Engineer http://www.corephp.co.uk "Never trust a computer you can't throw out of a window"

« previous php.general (#260587) next »