|
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
[Back to original message]
|