Hello everybody,
My php file gives warning messages when I execute it. How can I disable/hide these warning messages to display on the page?
Thanks.
Printable View
Hello everybody,
My php file gives warning messages when I execute it. How can I disable/hide these warning messages to display on the page?
Thanks.
Hi there,
In your php.ini you can set the display_errors directive to Off.
See more here:
http://us2.php.net/errorfunc
Turning off warnings is a bad idea. You should fix the warnings, not suppress them; otherwise, you will be lost when your application starts behaving in an unexpected manner.