Re: Code for db connection errors
| From: | Andre Dubuc | Date: | Fri, 16 Aug 2002 02:49:53 +0000 |
| Subject: | Re: Code for db connection errors | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-112901@lists.php.net to get a copy of this message | ||
On Thursday 15 August 2002 10:20 pm, Jason Wong wrote:
> It's probably not very user friendly to display the raw error. You could
> redirect the user to a generic error page saying something like "The site
> is down for maintenance" or whatever.
That's what I thought. So with your other idea of checking error_log(), I
have a good idea what to do. Thanks.
Regards, Andre