RE: [PHP] custom error handling + fopen

2003-04-04 Thread Rasmus Lerdorf
gt; 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

RE: [PHP] custom error handling + fopen

2003-04-04 Thread Dan Rossi
nal 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 differen

Re: [PHP] custom error handling + fopen

2003-04-04 Thread Rasmus Lerdorf
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 trigger

[PHP] custom error handling + fopen

2003-04-04 Thread Dan Rossi
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 custo

[PHP] custom error handling

2003-01-07 Thread electroteque
hi there i am trying to build a ustom error handler for the pear db aswell as catch fatal and parse errors , unfortunatly the pear db error message wont give me back the file and the line where the error is, how can i determine the line and file where the error is caused ufortunatly the callback f

[PHP] Custom Error Handling

2002-04-08 Thread Adam Voigt
Is there any reason the following code should not work? I define the error function, then tell PHP to use it, then call a function which doesn't exist (test), and it will print the error on screen that that function doesn't exist, but it won't alert me, so it's obviously not entering the catchErro