Re: PHP: how to ping a server ?

From: Date: Tue, 19 Dec 2000 13:24:53 +0000
Subject: Re: PHP: how to ping a server ?
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-31080@lists.php.net to get a copy of this message
Here ya go: <? $result = ping www.altavista.com -c 1; echo $result; ?> Toby Butzon [ criticism spurs improvement ] ----- Original Message ----- From: "Paul" <dragoslav@gmx.co.uk> To: "Toby Butzon" <php-lists@imawebdesigner.com> Sent: Tuesday, December 19, 2000 8:22 AM Subject: Re: [PHP] PHP: how to ping a server ? : ow sorry about that email. : No what code did you used ( everthing ) : : Paul : : ----- Original Message ----- : From: "Toby Butzon" <php-lists@imawebdesigner.com> : To: "Paul" <dragoslav@gmx.co.uk> : Sent: Tuesday, December 19, 2000 1:27 PM : Subject: Re: [PHP] PHP: how to ping a server ? : : : > What about ping -c 1 : > : > I just tried it and got... : > PING altavista.com (209.73.164.93): 56 data bytes 64 bytes from : > 209.73.164.93: icmp_seq=0 ttl=245 time=21.3 ms --- altavista.com ping : > statistics --- 1 packets transmitted, 1 packets received, 0% packet loss : > round-trip min/avg/max = 21.3/21.3/21.3 ms : > : > Any help? : > : > Toby Butzon : > [ criticism spurs improvement ] : > : > : > ----- Original Message ----- : > From: "Paul" <dragoslav@gmx.co.uk> : > To: "Toby Butzon" <php-lists@imawebdesigner.com> : > Sent: Tuesday, December 19, 2000 7:23 AM : > Subject: Re: [PHP] PHP: how to ping a server ? : > : > : > : UNIX : > : : > : ----- Original Message ----- : > : From: "Toby Butzon" <php-lists@imawebdesigner.com> : > : To: "Paul" <dragoslav@gmx.co.uk> : > : Sent: Tuesday, December 19, 2000 1:20 PM : > : Subject: Re: [PHP] PHP: how to ping a server ? : > : : > : : > : > What OS are you on? : > : > : > : > Toby Butzon : > : > [ criticism spurs improvement ] : > : > : > : > : > : > ----- Original Message ----- : > : > From: "Paul" <dragoslav@gmx.co.uk> : > : > To: "Toby Butzon" <php-lists@imawebdesigner.com> : > : > Sent: Tuesday, December 19, 2000 7:18 AM : > : > Subject: Re: [PHP] PHP: how to ping a server ? : > : > : > : > : > : > : Hoi, : > : > : : > : > : It dosint work i tryd : > : > : : > : > : $return_val = ping www.host.com; : > : > : echo $return_val; : > : > : : > : > : Paul : > : > : : > : > : ----- Original Message ----- : > : > : From: "Toby Butzon" <php-lists@imawebdesigner.com> : > : > : To: "Paul" <dragoslav@gmx.co.uk>; <php-general@lists.php.net> : > : > : Sent: Tuesday, December 19, 2000 1:10 PM : > : > : Subject: Re: [PHP] PHP: how to ping a server ? : > : > : : > : > : : > : > : > Try running the actual command with backtick operators... ie: : > : > : > : > : > : > $return_val = ping www.host.com; : > : > : > : > : > : > Good luck- : > : > : > : > : > : > Toby Butzon : > : > : > [ criticism spurs improvement ] : > : > : > : > : > : > : > : > : > ----- Original Message ----- : > : > : > From: "Paul" <dragoslav@gmx.co.uk> : > : > : > To: <php-general@lists.php.net> : > : > : > Sent: Tuesday, December 19, 2000 7:02 AM : > : > : > Subject: [PHP] PHP: how to ping a server ? : > : > : > : > : > : > : > : > : > Hello, : > : > : > : > : > : > I'm looking for 3 day's for a PHP code that's pings a server. And : i : > : got : > : > : not : > : > : > yet a succesful code, so maby the The Master's can help. : > : > : > I want the result's something like thise "www.php.net Ping : 200" : > : > : > : > : > : > I hope that The Master's can help me ;) : > : > : > Greets fron Paul : > : > : > : > : > : > : > : > : : > : > : : > : > : > : : > : : > : :

« previous php.general (#31080) next »