Re: PHP: how to ping a server ?
| From: | Toby Butzon | Date: | Tue, 19 Dec 2000 12:10:36 +0000 |
| Subject: | Re: PHP: how to ping a server ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-31024@lists.php.net to get a copy of this message | ||
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