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]

 



In addition to the valid suggestions thus far, another option which may
suit your purpose is to display an image from webserver2 in the page on
webserver1. You can put a JavaScript redirection in the image's onload
event.

-----Original Message-----
From: Brent Baisley [mailto:brent@xxxxxxxxxxxx] 
Sent: 10 May 2005 15:44
To: balwant singh
Cc: php-general@xxxxxxxxxxxxx
Subject: Re:  how to know whether web server of a remote machine is
running or not


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

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

Gamma Global : Suppliers of HPCompaq, IBM, Acer, EPI, APC, Cyclades, D-Link, Cisco, Sun Microsystems, 3Com

GAMMA GLOBAL (UK) LTD IS A RECOGNISED 'INVESTOR IN PEOPLE' AND AN 'ISO 9001 2000' REGISTERED COMPANY

**********************************************************************

CONFIDENTIALITY NOTICE:

This Email is confidential and may also be privileged. If you are not the
intended recipient, please notify the sender IMMEDIATELY; you should not
copy the email or use it for any purpose or disclose its contents to any
other person.

GENERAL STATEMENT:

Any statements made, or intentions expressed in this communication may not
necessarily reflect the view of Gamma Global (UK) Ltd. Be advised that no content
herein may be held binding upon Gamma Global (UK) Ltd or any associated company
unless confirmed by the issuance of a formal contractual document or
Purchase Order,  subject to our Terms and Conditions available from http://www.gammaglobal.com

E&OE

**********************************************************************
**********************************************************************


-- 
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