RE: [PHP-WIN] Better Error Trapping!

2003-04-04 Thread Svensson, B.A.T. (HKG)
> I'd love to hear other people's input on this and how they are attacking > this problem! Simply using defensive programming; e.g. never assume you get the resources you ask for, but also assume input you get is incorrect. Abstract pseudo code: TRY DO_EVENT IF DO_EVENT_SUCCESS CONTI

Re: [PHP-WIN] Better Error Trapping!

2003-04-03 Thread Stephen
r occured while doing XYZ', __FILE__, __LINE__, MySQL_error() ); I suggest you come up with a similar solution. Stephen - Original Message - From: "Matt Babineau" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, April 03, 2003 4:48 PM Subject: [PHP-WIN] Bet

[PHP-WIN] Better Error Trapping!

2003-04-03 Thread Matt Babineau
Hi All- I have searched for a while and cannot seem to find a quality error trapping script!!! Here is the situation, about a week ago one of the sites I built (which is hosted on a shared server @ an ISP) went down. It went down because the database server got moved. If I had been notified of