Use Proper Error Reporting

Jan 19, 2009 Author: Developer

During the development process, application error reporting is your best friend. Error reports can help you find spelling mistakes in your variables, detect incorrect function usage and much more. However, once the site goes live the same reporting that was an ally during development can turn traitor and tell your users much more about your site than you may want them to know (the software you run, your folder structure, etc).

Once your site goes live, you should make sure to hide all error reporting. This can be done by invoking the following simple function at the top of your application file(s)


views 3664
  1. Add New Comment