Re: Friday morning brain farts....

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

 



On 8/10/07, Robert Cummings <robert@xxxxxxxxxxxxx> wrote:
> On Fri, 2007-08-10 at 11:40 -0400, Daniel Brown wrote:
> > On 8/10/07, Stut <stuttle@xxxxxxxxx> wrote:
> > > If PHP thinks something might be wrong it will tell you. Why on earth
> > > would you want to ignore it? You think you're smarter than PHP? Really?
> >
> >     Okay, Stut, let's not make Friday the official "Flame Dan Brown"
> > holiday this week.  I vote that it should be later in the year.
> >
> >     However, it should also be noted that my development is never done
> > on a production server attached to the Internet, for one; and on my
> > development machine, E_NOTICE is always enabled.  I just fail to see
> > the benefit in alerting visitors to the site that there may have been
> > something overlooked at some point.
>
> Why would it alert visitors? You don't have display errors set to on for
> a production server do you? *EEEEEEEEEK*. Send it to a log file. The
> reason it's good to enable notices on a production server is because
> your visitors are like a horde of testers, they'll probably hit every
> nook and cranny of your code that you might have missed during testing.
>
> Cheers,
> Rob.
> --
> ...........................................................
> SwarmBuy.com - http://www.swarmbuy.com
>
>     Leveraging the buying power of the masses!
> ...........................................................
>

    Ha!  No, I don't have it set to display anything to the user
except for a custom error-handling message.  The generic, "there
appears to be a problem, we've been notified, blah, blah, blah...."

    The way I read your point was to say that it should be on display.
 That misunderstanding is my fault.

-- 
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