欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  php教程

php实现ping转

程序员文章站 2024-01-23 17:04:16
...
Pinging
"; $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
flush(); sleep(3); } ?>