You are here: Re: [PHP] how to know whether web server of a remote machine is running or not « PHP « IT news, forums, messages
Re: [PHP] how to know whether web server of a remote machine is running or not

Posted by Brent Baisley on 05/10/05 17:43

Try connecting to it on port 80, the default for web servers. You can
actually play around by connecting to a webserver (or mail server)
through telnet. On the command line just type "telnet website.com 80".
If the server is up, you should be able to interact with the webserver.
Type something and press return. If you didn't type a valid command,
you'll get some html code back.
You should be able to do something like this with all the commands in
php, I have looked into which ones.



On May 10, 2005, at 7:59 AM, balwant singh wrote:

> Hi,
>
> I want to make a page (on a webserver) which will be redirected to
> another page on another webserver and hence i want to know whether
> the another webserver is running or not so that if the webserver is
> not running it do something else.
>
> is there any method to know whether the other webserver is running or
> not.
>
> your help will be appreciated.
>
>
> with best wishes
> balwant
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Brent Baisley
Systems Architect
Landover Associates, Inc.
Search & Advisory Services for Advanced Technology Environments
p: 212.759.6400/800.759.0577

 

Navigation:

[Reply to this 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

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