sse_events.php 198 B

1234567891011
  1. <?php
  2. #header("Cache-Control: no-cache");
  3. #header("Content-Type: text/event-stream");
  4. #$inp = file_get_contents('../callbacks/DTC_EVENT.txt');
  5. #echo "data: $inp" . "\n\n";
  6. #flush();
  7. #sleep(300);