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
In your php file just enter this code:
error_reporting(0);
This will report no errors to the user. If you somehow want, then just comment this.