Re: Friday morning brain farts....

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/10/07, Stut <stuttle@xxxxxxxxx> 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.

-- 
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107

Hey, PHP-General list....
50% off for life on web hosting plans $10/mo. or more at
http://www.pilotpig.net/.
Use the coupon code phpgeneralaug07
Register domains for about $0.01 more than what it costs me at
http://domains.pilotpig.net/.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux