Disable PHP error_reporting


April 22nd, 2008

You must have come across PHP errors like NOTICE , WARNINGS etc… and you need to disable this so this is not shown in your PHP page. To do so you can add a simple code within your PHP file. The code is:

error_reporting(0);

That’s it!

This article is released by SupportFacility.Com — the leaders in providing outsourced technical support, live chat support & help desk support for web hosts. Interested ? Opt for a trial now.


No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment