Hi,
I'd like to redirect my script to a HTML document when the MySQL server is down, without displaying the PHP error messages, such as "Can't connect to the database".
Basically, I want my visitors to see a nice HTML page instead of this PHP strange messages
I try "or die", but it doesn't work.
Anyone could help me ?
Thanx.
I'd like to redirect my script to a HTML document when the MySQL server is down, without displaying the PHP error messages, such as "Can't connect to the database".
Basically, I want my visitors to see a nice HTML page instead of this PHP strange messages
I try "or die", but it doesn't work.
Anyone could help me ?
Thanx.