mirror of
https://github.com/multipleof4/ntfy.git
synced 2026-10-08 21:05:21 +00:00
Continued docs
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
$fp = fopen('https://ntfy.sh/phil_alerts/json', 'r');
|
||||
if (!$fp) {
|
||||
die('cannot open stream');
|
||||
}
|
||||
while (!feof($fp)) {
|
||||
$buffer = fgets($fp, 2048);
|
||||
echo $buffer;
|
||||
flush();
|
||||
}
|
||||
fclose($fp);
|
||||
Reference in New Issue
Block a user