From 9b44ec87f27f206c2805da6e3878c23a59a51346 Mon Sep 17 00:00:00 2001 From: arf20 Date: Tue, 4 Nov 2025 22:46:50 +0100 Subject: Change SSL icon, PHP pager --- php/pager.php | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 php/pager.php (limited to 'php') diff --git a/php/pager.php b/php/pager.php new file mode 100644 index 0000000..43b792c --- /dev/null +++ b/php/pager.php @@ -0,0 +1,61 @@ + $_GET["msg"], + 'callSignNames' => array( 'ea5jgx' ), + 'transmitterGroupNames' => array( 'ea-all' ), + 'emergency' => 'false' + ]; + + $options = [ + 'http' => [ + 'method' => 'POST', + 'header' => "Content-type: application/json\r\n". + "Authorization: Basic ".base64_encode("$auth")."\r\n", + 'content' => json_encode($data), + ], + ]; + + $context = stream_context_create($options); + + $response = file_get_contents($url, false, $context); +} + +?> + + + + + + + + ARFNET + + + +
+ ARFNET +
+
+
+

Pager service

+
+

Page arf20!

+ +
+Error"; + else + echo "
$response
"; +} +?> +
+
+ + -- cgit v1.2.3