开发者

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

开发者 https://www.devze.com 2023-03-30 23:35 出处:网络
How to che开发者_JAVA百科ck if an IP address is active or dead ? with phpIs this an IP address on a network, or a server IP address?You could use PHP\'s exec command;

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

精彩评论

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