Page 1 of 1

turning off notices

Posted: Sat Aug 18, 2007 1:12 am
by m2babaey
Hi
how can i turn off notices ( for undefined variables for example)

Posted: Sat Aug 18, 2007 1:18 am
by Benjamin
For undefined variables, you would define the variable.

Posted: Sat Aug 18, 2007 1:19 am
by hawleyjr

Posted: Sat Aug 18, 2007 8:57 am
by thewebdrivers
you can also set it in php configuration file php.ini for global effect.

Posted: Sat Aug 18, 2007 8:59 am
by feyd
Do not under any circumstance turn them off during development (or in production, personally.) Fix the problems, don't hide them.

Posted: Sat Aug 18, 2007 9:02 am
by thewebdrivers
thats right. Small issues can club up to system failures.

Posted: Sat Aug 18, 2007 7:04 pm
by RhapX
feyd wrote:Do not under any circumstance turn them off during development (or in production, personally.) Fix the problems, don't hide them.
May save you a lot of time in the future whether you think it will or not. Just play it safe and fix the issues.