X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Ftest-hs-rd.php;h=d9a086702aa7193a4f412dec5c7bb6444fd60523;hb=f204bcec7746f916c356f31dbe814a865c37dd0d;hp=bfa7544c6424444068ee1d009816aeb46bb968e2;hpb=08d4ed7dda698da0d092bbd8a31c15bd2c447927;p=xynt.git diff --git a/web/test-hs-rd.php b/web/test-hs-rd.php index bfa7544..d9a0867 100644 --- a/web/test-hs-rd.php +++ b/web/test-hs-rd.php @@ -1,10 +1,15 @@ + + + + -if (http_streaming != 'ready') { - http_streaming.keepalive(); -} -", $i, $i); +push(\"$('cont').innerHTML += '%s %d'; gst.st = %d;\"); +", $i, ($first ? "
" : ""), $i, $i); } else { // exit(); - sleep(30); + // sleep(30); } - if ($i == 0) + if ($first) printf("", $s); mop_flush(); usleep(1000000); @@ -39,7 +48,4 @@ if (http_streaming != 'ready') { } main(); ?> - - - \ No newline at end of file