There is a PEAR package for this. Search for PEAR ping() at pear.php.net

good luck

----- Original Message ----- 
From: "Ross Hulford" <[EMAIL PROTECTED]>
To: <php-windows@lists.php.net>
Sent: Wednesday, January 26, 2005 7:09 PM
Subject: [PHP-WIN] server problem


> 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?
>
> Kind regards,
>
>
> Ross Hulford
>
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to