Table of Contents

Security

Error Reporting

By default, php is usually configured to be in a verbose error reporting mode. This is helpful for debugging, while the project is being coded. However, this is not desirable for a production environment. While you should spare no effort to make your code as secure as possible, the output from an error message in php could help a hacker find a way to exploit something on your site.

Security Recap (Tips)

Source: Programming PHP, 2nd Edition, Chapter 12