Downloads

 

Display Errors

The display_errors directive in the PHP ini file ‘tells’ PHP if errors should be added to the output stream (normally printed to the screen) or if they should not be displayed in the browser.

 
<IMPORTANT>

It should be noted that this setting DOES NOT suppress the error. Even if the directive is set to ‘Off’ (do not display errors) errors which occur in a script are still triggered and will be processed by the error handler.

</IMPORTANT>

 
PHP does not offer a special display_errors function, but by using the ini_set() function we can control the setting of this directive within our script. The function signature looks like this:

string ini_set ( string $varname , string $newvalue )

blah, blah

Leave a Reply

 

 

 

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Improve the web with Nofollow Reciprocity.