Monday, October 29, 2012

Parameter Settings in the PHP.ini

The parameters that need to be considered are:

1.  Display_errors

            Display_errors is used to display an error because error of the source code that we make, if set display_errors is ON then the error will be displayed on the webbrowser, if set OFF then the error will not be displayed on the webbrowser.

Syntax:

                display_errors = on

2. Register_globals

            Register_globals if we set ON the variable to be sent not have captured the destination file. Register_globals if we set off then all sent through post method, get, cookies, session etc must be recaptured in the destination file using $ _POST, $ _GET, S_COOKIES, $ _SESSION etc.

Syntax :

            register_globals = on


3. Error_reporting

            Error_reporting is used to display error is very sensitive to the error source code is made.

Syntax :

            error_reporting= E_ALL & ~E_NOTICE & ~E_STRICT



No comments:

Post a Comment