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

Your name:

Reply:


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.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация