what are the best practises for hiding all php errors? As I don\'t want ERRORS to show to the user.
I\'ve tried using the .htacess by p
.htacess
to Hide All Errors:
error_reporting(0); ini_set('display_errors', 0);
to Show All Errors:
error_reporting(E_ALL); ini_set('display_errors', 1);