Posted by Paul Furman on 11/18/64 11:42
What is the proper way to turn off error reporting? I'm on a shared
server so...
"Note: Although display_errors may be set at runtime (with ini_set ()),
it won't have any affect if the script has fatal errors. This is because
the desired runtime action does not get executed."
.... has me confused if this will really work. Sorry I'm rusty on this.
"To set at runtime, use the error_reporting(). See also the
display_errors directive."
I don't mind if visitors get some error messages when there is a problem
but when the database goes down for a moment they get the login &
password that failed <grin>.
Navigation:
[Reply to this message]
|