Re: how to know whether web server of a remote machine is running or not

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2005-05-10 at 08:33, Greg Donald wrote:
> On 5/10/05, balwant singh <balwantsingh@xxxxxxxxxxxxx> 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.

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux