|
Posted by Blair Lowe on 05/10/05 22:07
On Tue, 2005-05-10 at 08:33, Greg Donald wrote:
> On 5/10/05, balwant singh <balwantsingh@indoasian.com> wrote:
> > is there any method to know whether the other webserver is running or not.
>
> There are lots of methods:
>
> system( 'telnet hostname 80' );
>
> fopen();
>
> fsockopen();
>
> Curl.
Hi,
You may also want to know if php is running OK too. Crackers will
typically knock out php, and then the usual web server tests work, and
your php website(s) will not.
I suppose a curl script would figure that out.
TTYL,
Blair.
Navigation:
[Reply to this message]
|