Off PHP Warning Message

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

Post Reply
pooh14
Forum Newbie
Posts: 23
Joined: Tue Apr 04, 2006 12:20 am

Off PHP Warning Message

Post by pooh14 »

Hi Guys,

How do I off the php warning message from being displayed?

thank you very much.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I'd advise fixing the problem. It still fires if you hide it, and you can cause security holes if you don't take care of it.
pooh14
Forum Newbie
Posts: 23
Joined: Tue Apr 04, 2006 12:20 am

Post by pooh14 »

Hi feyd,

i know what the problem, it is no problem actually :p

to explain why it happen would take me very long :p

can you please tell me how to off the messags being displayed
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

look at error_reporting() or the @ operator
pooh14
Forum Newbie
Posts: 23
Joined: Tue Apr 04, 2006 12:20 am

Post by pooh14 »

thanks feyd, thats helped.
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

why don't you try posting the line causing the problem -- it may be something you have overlooked or unaware of ?


try us 8)
Post Reply