custom error handling + fopen
| From: | Dan Rossi | Date: | Sat, 05 Apr 2003 02:05:27 +0000 |
| Subject: | custom error handling + fopen | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-142470@lists.php.net to get a copy of this message | ||
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