PHP Network: Pinging Remote HostsTag: network, ping, remote host Category: PHP Basicpost: 28 Apr 2008 read: 313 PHP Network Tips - Part 1: If we want to check if a network host is alive, we use ping system command. Example, if we want to check phpeveryday.com is alive we can use ping phpeveryday.com (for Windows). We can use ping at PHP. The code like this:
Ping command depend on Operating System. I use Win XP. And I just check localhost. You can try other network host by replace localhost above. Result may like this:
|
| | Give Your Opinion | Recommend |
|

