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);
?>






















