X-Git-Url: https://mop.ddnsfree.com/gitweb/?p=xynt.git;a=blobdiff_plain;f=web%2Ftest-hs-rd.php;h=78baf48291fc6e21795244bb281f8b3a70f1a12a;hp=bd4667e5861f5c7e710e6113a85d5b90dd783ba0;hb=5ba9cf2d51aeb6ca0d9687c908ccb10496e843ca;hpb=b5a535adf6a1dbcee2c1046d451a99f230aace80 diff --git a/web/test-hs-rd.php b/web/test-hs-rd.php index bd4667e..78baf48 100644 --- a/web/test-hs-rd.php +++ b/web/test-hs-rd.php @@ -19,7 +19,12 @@ function mop_flush() function main() { - $st = 0; + GLOBAL $st; + + if (!isset($st)) { + $st = 0; + } + $fp = fopen("/tmp/test-hs-rd.log", "a"); fwrite($fp, "START\n"); fclose($fp); @@ -38,9 +43,10 @@ function main() // exit(); sleep(30); } - printf("", $i, ($first ? "
" : ""), $i); + +printf("", $i, ($first ? "
" : ""), $i, $i); if ($first) printf("", $s);