Home  >  Article  >  php教程  >  php实现ping转

php实现ping转

WBOY
WBOYOriginal
2016-06-13 10:28:10805browse

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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn