Crizz, You have had two good answers to your original question. One telling you to turn errmsgs completely off, and another telling you how to turn them on for debugging. Since then the water has been muddied by all sorts of 'jumping in'.
If you have completed your debugging (my interpretation) and want to run a 'production' system that won't toss out strange-looking msgs to users, then stick with the former advice. If you are still in development and need all the advice you can get, then stick with Alain's advice. You hadn't stated where you are at, so both extremes of answer were 'valid' responses! Trouble is talk of "novices" confused the issue... Given that you now state that errmsgs (to users) should be turned off, but want to see problems when they do arise, then push error-reporting to its lowest level and initiate/up-rate the logging facility (one or two more lines further down the php.ini). Regards, =dn > error_reporting = E_ALL & ~E_NOTICE > > > No, now it's ok, my scripts works . It doesn't show any Warnings, but the > > bad is that it will probably, won't show any error when exist, right. So, > > I'd like a good value for error_reporting, show I'll know my mistake > without > > having all silly wanrings destroying the look of the page. > > > > Thanks for your immediate help, > > crizz > > > Crizz: > > > Obviously you don't want to do that at this point - No error reporting > for > > a > > > novice - can be challenging... > > > Show us your script and we may be able to help. (Sorry I did not see > your > > > previous post(s)...) > > > A+ > > > Alain > > > > > > Ok, I changed error_reporting to "no". But now I take no notice about > > errors > > > at all. Any convinience mode for a novice? > > > > > > > crizz, > > > > > > > > > I'm really newbye in PHP and just installed php on my IIS on my XP. > > > > All > > > > > sample scripts I tried returns me error messages about "Warning: > > > > Undefined > > > > > variable" > > > > > It's probably something with the configuration, right? > > > > > > > > > > > > You got it! > > > > Check out php.ini (in Windows folder). > > > > There is a load of 'documentation' in amongst the > settings/definitions. > > > > There are a number of 'levels' for error reporting, so you can dial it > > > > back a notch if you want. > > > > > > > > Regards, > > > > =dn -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php