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
精彩评论