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
On Friday 16 August 2002 10:15, Andre Dubuc wrote:
> Suppose, during an attempted connection to a database, an error condition
> occurs, where the connection cannot be made.
>
> . . .
> $db = pg_connect("dbname=rap user=postgres") die ("Connection failed -
> please try again.");
> . . . .
> ?>
>
Suppose, during an attempted connection to a database, an error condition
occurs, where the connection cannot be made.
Is it advisable for such a message to be displayed to the User, or should
such reporting be sent to a log of some sort.
(I'm unclear of what use the message would be to the
3 matches
Mail list logo