> I want to write a script that will check if the server is down if it is I > want to redirect the user to another site, the backup server. > > Similarly I want users who go on to the seondary site when the main server > is UP to be redirected to the main site. > > Can this be done using PHP. If not can you point me in the right direction? PHP can help you if you have multiple sql servers... but for true site redundancy php alone can not do what you ask.
Some things to look at CISCO CSS, excellent for load balancer and many other things. However if you are concerned about the Internet connection being down to your server, well, that topic has been around for ages. The most simple one: two networks, one dns server on each network pointing to ips on the network. > Kind regards, > > > Ross Hulford > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php