源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

php实现ping

  • 时间:2020-07-26 20:50 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:php实现ping
<?php // created by joe lumbroso // see some other good php3 scripts // goto http://www.dtheatre.com/scripts echo "<font color="red"><blink><b>Pinging</b></blink></font><br>"; $to_ping = "dtheatre.com"; $count = 3; $psize = 65; echo " Please be patient, this can take a few moments...n<br><br>"; flush(); while (1) { ?> <pre> <? exec("ping -c $count -s $psize $to_ping", $list); for ($i=0;$i < count($list);$i++) { print $list[$i]."n"; } ?> </pre> <? flush(); sleep(3); } ?> (出处:Viphot)
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部