I am not sure if you are asking me a question or not here. But no, like I said, when you set a custom error handler, that error handler is going to get called for all catchable errors.
-Rasmus On Sat, 5 Apr 2003, Dan Rossi wrote: > apolgies sorry i removed a check for E_WARNING > > // case E_WARNING: > case E_USER_WARNING: > $this->_throw($code); > break; > > sorry basically i can trigger a E_USER_WARNING and catch that only in my > callback function > > -----Original Message----- > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED] > Sent: Saturday, April 05, 2003 2:11 PM > To: Dan Rossi > Cc: Php-General > Subject: Re: [PHP] custom error handling + fopen > > > You can't really separate them. In your error handler you can check what > type of error it was and treat them differently. > > On Sat, 5 Apr 2003, Dan Rossi wrote: > > > hi guys i have a custom error handler setup within a class , i can trigger > > it with trigger_error , also i am sending my ustom triggers to > > E_USER_WARNING , althogh even having fopen supressed @fopen i am still > > getting errors returned to the same area as my current codes , how can i > > seperate my custom codes from the php ones , > > > > i am getting this fopen(http://electroteque.dyndns.org:1023/krafterk) > > [function.fopen]: failed to create stream: HTTP request failed! HTTP/1.1 > 404 > > Not Found > > > > and i have the check > > if (!$this->handle = @fopen($src_name,$attr)) { > > > > } else { > > throw errror here > > } > > > > still not happening > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php