test.php 395 Bytes
Newer Older
Oleg Dzhimiev's avatar
Oleg Dzhimiev committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
<?php

/**
 * Description:
 *   Tests port 0 (2323) imgsrv pointers
 *
 * Usage:
 * * from 10393 ssh session:
 *   pc~$ ssh root@192.168.0.9
 *   ...
 *   10393~# php /www/pages/pointers/test.php
 *   ...
 *   CTRL-C to stop
 *
*/

file_get_contents("http://localhost:2323/towp/save");

while(true){
  file_get_contents("http://localhost:2323/torp/wait/img/next/save");
  usleep(110000);
}

?>