Displaying PHP errors

To display or not display PHP errors it is possible to use display_errors directive in the. Full syntax of it is ini_set('display_errors,1) setting it to 0, will disable displaying errors. It is a good idea only to show errors in your development or QA environment, and hide errors in production environment. Users have no reason to see errors, errors can be exploited by a person with malicious intent.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator