On Error feature....

David8 years ago

Hi Anton,

Very very very nice job !

A simple idea:

Sometimes, when we need down the server for maintenaince, users that are not notified of this, receive an error message or server app hangs up.

I just discovered main problem is when server try to open the database.

Probably you do something like:

mysql_connect("details go here")or die("Error!");

If you could change for something like:

mysql_connect("details go here")or die(require("failed.php"));

we are able to redirect the error to a maintenaince webpage or something like this.

Thanks in advance from Buenos Aires, Argentina
David

Anton Tananaev8 years ago

Not sure what you are talking about. If database is not available, server returns an error.