May 2003
Intermediate to advanced
592 pages
14h 28m
English
PHP includes a number of functions useful for managing errors, allowing you to more professionally run the site during its production (live) stage.
For security and aesthetic purposes, it’s generally unwise for a public user to see error messages. Frequently, error messages—particularly those dealing with the database—will reveal certain behind-the-scenes aspects of your Web application that are better not made visible. While you hope all of these will be worked out during the development stages, that’s rarely the case. Using the functions described here will allow you to better tailor PHP’s response to errors in a more appropriate and secure manner.
The error_reporting() function in PHP is used to establish ...
Read now
Unlock full access