security - How to stop public seeing error messages in PHP -
pretty if mistake happen in php not want public see error security purposes, there anyway of having log or file people file or access can see it?
use following line first line:
error_reporting(0);
another alternative .htaccess file.