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

Reply via email to