|
-
Feb 20th, 2002, 01:41 PM
#1
Error handling
I'm desperetly looking for an error handling function, something like Try...Catch...Finally, or our ole' On Error method (I want it to find unexpected errors on a page and show a custom warning message to the user, instead of the PHP engine showing the line error)
-
Feb 20th, 2002, 03:05 PM
#2
Member
Try using the set_error_handler() function to designate a custom function as your error handler. Sort of routing all errors in vb to the same place.
See the php manual:
http://www.php.net/manual/en/functio...or-handler.php
and
http://www.php.net/manual/en/feature...r-handling.php
for explanations and examples.
HTH
Thanks
hardcoder
-
Feb 20th, 2002, 05:59 PM
#3
tnx
-
Feb 20th, 2002, 07:34 PM
#4
Member
HTH. Anytime.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|