Home > Backend Development > PHP Tutorial > PHP implementation of ping_PHP tutorial

PHP implementation of ping_PHP tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-21 16:10:48
Original
949 people have browsed it


// see some other good php3 scripts
// goto http://www.dtheatre.com/scripts echo "Pinging
";
$to_ping = "dtheatre.com";
$count = 3;
$psize = 65;
echo " Please be patient, this can take a few moments...n

";
flush(); while (1) {
?>

 <br><? <br>exec("ping -c $count -s $psize $to_ping", $list); <br>for ($i=0;$i < count($list);$i++) { <br>print $list[$i]."n"; <br>} <br>?> <br>

flush();
sleep(3);
}
?> (出处:Viphot)

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/314157.htmlTechArticle?php // created by joe lumbroso // see some other good php3 scripts // goto http://www.dtheatre.com/scripts echo "font color="red"blinkbPinging/b/blink/fontbr"; $to_ping = "dthea...
Related labels:
Statement of this Website
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template