diff --git a/aprs_func.php b/aprs_func.php index 728c39e..9669ee1 100644 --- a/aprs_func.php +++ b/aprs_func.php @@ -1,6 +1,6 @@ post('/passcode', function () { require('aprs_func.php'); - echo aprspass($_POST['callsign']); + $passcode = aprspass($_POST['callsign']); + require('templates/passcode.php'); }); diff --git a/templates/main.php b/templates/main.php index eb780dc..3f6f6bb 100644 --- a/templates/main.php +++ b/templates/main.php @@ -1,5 +1,6 @@ + -
Techical Example of Passcode Generation using PHP
+Source code available on Github
+