Notices

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
User avatar
partiallynothing
Forum Commoner
Posts: 61
Joined: Fri Nov 21, 2003 5:02 pm
Location: connecticut, usa

Notices

Post by partiallynothing »

Is there any way I can disable php notices in the php.ini file. Also, is there any way to do it on a "page-per-page" basis (like a command or argument fo some sort)? Thanks
h@mm3r
Forum Newbie
Posts: 10
Joined: Mon Nov 24, 2003 9:35 am

Post by h@mm3r »

Maybe the function "error_reporting(0)" helps?
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

Note that you should always develop with E_ALL, but turn down the error reporting level on a live site.
Post Reply