Re: Friday morning brain farts....
| From: | Robert Cummings | Date: | Fri, 10 Aug 2007 15:26:14 +0000 |
| Subject: | Re: Friday morning brain farts.... | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260589@lists.php.net to get a copy of this message | ||
On Fri, 2007-08-10 at 11:18 -0400, Daniel Brown wrote:
> On 8/10/07, Stut <stuttle@gmail.com> wrote:
> > Bad Dan *slap*. Ignoring notices may be detrimental to your health
> > and/or well-being. Better to initialise it with a default if it has not
> > been set in the request.
> >
> > if (!isset($_GET['order'])) $_GET['order'] = 'Last';
>
> Ouch!
>
> So you're all going to tell me that you have E_NOTICE set to
> report on your sites? Look, I didn't say it was the Right Way[tm],
> but it is safe to ignore.
I never disable E_NOTICE or even E_STRICT.
Cheers,
Rob.
--
...........................................................
SwarmBuy.com - http://www.swarmbuy.com
Leveraging the buying power of the masses!
...........................................................