Posted by fletch on 04/12/06 22:00
Don't know about mysqli_connect() but you could use fsockopen() and set a short timeout, close the connection and then reconnect with mysql_connect(); I would hope there was a tidier solution that this though. Perhaps load balancing on the backup server, in relation to how much it can handle?
[Back to original message]
Copyright © 2005-2006 Powered by Custom PHP Programming