php实现ping转_PHP教程
时间:2021-07-01 10:21:17
帮助过:4人阅读
"; $to_ping = "dtheatre.com"; $count = 3; $psize = 65; echo " Please be patient, this can take a few moments...
"; flush(); while (1) { ?>
exec("ping -c $count -s $psize $to_ping", $list); for ($i=0;$i < count($list);$i++) { print $list[$i]."
"; } ?>
flush(); sleep(3); } ?>
http://www.bkjia.com/PHPjc/531768.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/531768.htmlTechArticlePinging ; $to_ping = dtheatre.com; $count = 3; $psize = 65; echo Please be patient, this can take a few moments... ; flush(); while (1) { ?>...