X-Git-Url: https://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Ftest-hs-rd.php;h=bd4667e5861f5c7e710e6113a85d5b90dd783ba0;hb=b5a535adf6a1dbcee2c1046d451a99f230aace80;hp=67bc876e32b87d99fc7c205c50ca43a38e112888;hpb=865cb740c39d77fdb20de3a9964be205491bee21;p=xynt.git diff --git a/web/test-hs-rd.php b/web/test-hs-rd.php index 67bc876..bd4667e 100644 --- a/web/test-hs-rd.php +++ b/web/test-hs-rd.php @@ -1,13 +1,15 @@ - +window.onload = function () { if (http_streaming != "ready") http_streaming.reload(); }; + + + + - parent.allmythings = %d; - console.log(\"zorro \"+parent.allmythings); - ", $i, $i); + $to = rand(10,20); + for ($first = true, $i = $st+1 ; $i < $st+$to ; $i++, $first = false) { + // if ($i == 0) + // sleep(1); + + if ($i == $st+8) { + // exit(); + sleep(30); } - else { - printf("", $i, $i); - } - if ($i == 0) + printf("", $i, ($first ? "
" : ""), $i); + + if ($first) printf("", $s); mop_flush(); usleep(1000000); @@ -47,7 +50,4 @@ function main() } main(); ?> - - - \ No newline at end of file