Hide Php Error Messages – How To !?
How can I hide PHP error messages in browser?
in php.ini file (global settings for server):
display_errors = Off
Using the ini_set() function to set the value of this, you will have to do it every time you run the script though.
<?php
ini_set("display_errors", "off");
?>
Use : error_reporting() function:
<?php
error_reporting(0);
?>
Categories: Bookmarks, Hosting, PhP, Tech, Web display_errors php, error_reporting php, Hide Php error, ini_set php, Php Error Messages, PHP Script, php.ini file








