PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
m2babaey
Forum Contributor
Posts: 364 Joined: Sun May 20, 2007 9:26 am
Post
by m2babaey » Sat Aug 18, 2007 1:12 am
Hi
how can i turn off notices ( for undefined variables for example)
Benjamin
Site Administrator
Posts: 6935 Joined: Sun May 19, 2002 10:24 pm
Post
by Benjamin » Sat Aug 18, 2007 1:18 am
For undefined variables, you would define the variable.
hawleyjr
BeerMod
Posts: 2170 Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA
Post
by hawleyjr » Sat Aug 18, 2007 1:19 am
thewebdrivers
Forum Commoner
Posts: 41 Joined: Fri Aug 17, 2007 3:32 pm
Location: india
Contact:
Post
by thewebdrivers » Sat Aug 18, 2007 8:57 am
you can also set it in php configuration file php.ini for global effect.
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Sat Aug 18, 2007 8:59 am
Do not under any circumstance turn them off during development (or in production, personally.) Fix the problems, don't hide them.
thewebdrivers
Forum Commoner
Posts: 41 Joined: Fri Aug 17, 2007 3:32 pm
Location: india
Contact:
Post
by thewebdrivers » Sat Aug 18, 2007 9:02 am
thats right. Small issues can club up to system failures.
RhapX
Forum Commoner
Posts: 30 Joined: Mon Dec 05, 2005 5:24 pm
Location: Seattle, Washington
Post
by RhapX » Sat Aug 18, 2007 7:04 pm
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.