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:
Sent: Wednesday, January 26, 2005 7:09 PM
Subject: [PHP-WIN] server problem
> I want to write a script that will che
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 po
ihail Bota [mailto:[EMAIL PROTECTED]]
> Inviato: venerdì 29 marzo 2002 10.21
> A: [EMAIL PROTECTED]
> Oggetto: [PHP-WIN] server problem?
>
>
> Dear all,
>
> I was navigating through my database remotely and suddenly the php
> stopped to answer. The error I continously g
day, March 29, 2002 2:20 AM
Subject: [PHP-WIN] server problem?
> Dear all,
>
> I was navigating through my database remotely and suddenly the php
> stopped to answer. The error I continously get is:
>
> CGI Error
> The specified CGI application misbehaved by not returning a co
Your user got the correct permissions on the php's folder? It should be a premissions
problem...however, what kind of code did you run?
-Messaggio originale-
Da: Mihail Bota [mailto:[EMAIL PROTECTED]]
Inviato: venerdì 29 marzo 2002 10.21
A: [EMAIL PROTECTED]
Oggetto: [PHP-WIN] s
Dear all,
I was navigating through my database remotely and suddenly the php
stopped to answer. The error I continously get is:
CGI Error
The specified CGI application misbehaved by not returning a complete set
of HTTP headers. The headers it did return are:
Any other kinds of pages or files (h