开发者

How to check if an IP address is active or dead ? with php

How to che开发者_JAVA百科ck if an IP address is active or dead ? with php


Is this an IP address on a network, or a server IP address? You could use PHP's exec command;

$output = exec('ping 127.0.0.1');

output will equal the executed command output;


You can use Net_ping Pear's package to achieve this.


Try Free software"Advanced IP Scanner".It's really helpful for this purpose.

Naseem

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜