Re: [PHP] Re: error-catching

2002-05-09 Thread Miguel Cruz
On Thu, 9 May 2002, Gert Mellak wrote: >> If you just want to hide the error message, there's nothing wrong with >> using @. > > ok, it's a new point of view... I've always thought that this is bad > programming style! It's bad if you're using it to hide errors rather than fixing them. If you h

Re: [PHP] Re: error-catching

2002-05-09 Thread Gert Mellak
J Smith <[EMAIL PROTECTED]> schrieb in im Newsbeitrag: [EMAIL PROTECTED] > > You can write your own error handlers using set_error_handler(). Then, > depending on the error code, you can decide whether you should display the > error message, email it to you, log it, whatever. > > http://www.php.ne

Re: [PHP] Re: error-catching

2002-05-09 Thread J Smith
You can write your own error handlers using set_error_handler(). Then, depending on the error code, you can decide whether you should display the error message, email it to you, log it, whatever. http://www.php.net/manual/en/function.set-error-handler.php If you just want to hide the error me