|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi,
Now i know how to create errors with trigger_error, but i am wondering how can I make my error handling class intercept any kind of error although i'm not aware about it and i don't know if it will happen. Is this possible? Thank you __________________________________________________ __________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i...Dypao8Wcj9tAcJ |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
> Now i know how to create errors with trigger_error, but i am
> wondering how can I make my error handling class intercept any kind > of error although i'm not aware about it and i don't know if it will > happen. Is this possible? You could use set_error_handler(): http://uk.php.net/manual/en/function...or-handler.php -- Richard Heyes Employ me: http://www.phpguru.org/cv |
|
![]() |
| Outils de la discussion | |
|
|