Re: [PHP] Error Handling Class - Any Recommendations?

2002-04-18 Thread Erik Price


On Thursday, April 18, 2002, at 08:53  AM, Julio Nobrega Trabalhando 
wrote:

>   Anyone recommend a good one? I am in need of the following features:
>
> 1) Catch any type of errors,
> 2) Actions like: Show on the screen, log on a file or database, or 
> email,
> 3) Different actions for each error level/warning type, etc..

If you want to roll your own, there's a DevShed article on the 
subject -- but I haven't read it, so I can't give you an opinion as to 
how good it is (whatever that would be worth).

http://www.devshed.com/Server_Side/PHP/FormValidatorClass/page1.html


Erik






Erik Price
Web Developer Temp
Media Lab, H.H. Brown
[EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Error Handling Class - Any Recommendations?

2002-04-18 Thread Julio Nobrega Trabalhando

  Anyone recommend a good one? I am in need of the following features:

1) Catch any type of errors,
2) Actions like: Show on the screen, log on a file or database, or email,
3) Different actions for each error level/warning type, etc..

  I have searched Hotscripts, but only found classes to control server
errors, like 404 or 503. On Sourceforge, no projects with files, and Google
returns me thousands of unrelated pages and I couldn't filter the results
until they were satisfactory ;-)

  I understand PEAR has somekind of error control, and it's my current DB
Abstraction Layer's choice. If there's a way to keep using PEAR to handle
other errors, I would be very glad if someone could point me to any tutorial
or documentation about how to do so,

  Thanks,

--

Julio Nobrega.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php