Maison  >  Article  >  développement back-end  >  php实现ping转_PHP教程

php实现ping转_PHP教程

WBOY
WBOYoriginal
2016-07-13 17:28:34818parcourir

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

www.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) { ?>...
Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn