ホームページ  >  記事  >  php教程  >  php实现ping转

php实现ping转

WBOY
WBOYオリジナル
2016-06-13 10:28:10805ブラウズ

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); } ?>

声明:
この記事の内容はネチズンが自主的に寄稿したものであり、著作権は原著者に帰属します。このサイトは、それに相当する法的責任を負いません。盗作または侵害の疑いのあるコンテンツを見つけた場合は、admin@php.cn までご連絡ください。