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