Update add_entry.php

This commit is contained in:
jakani24
2024-01-21 16:56:36 +01:00
parent 1de1488e49
commit b20d2a1a13

View File

@@ -4,6 +4,8 @@
//add the entry to the log db //add the entry to the log db
//this page has no gui, it may return ok or error //this page has no gui, it may return ok or error
if(!isset($_GET["loglevel"]) or !isset($_GET["logtext"]) or !isset($_GET["machine_id"]))
echo("syn_err");
$loglevel=htmlspecialchars($_GET["loglevel"]); $loglevel=htmlspecialchars($_GET["loglevel"]);
$logtext=htmlspecialchars($_GET["logtext"]); $logtext=htmlspecialchars($_GET["logtext"]);
$machine_id=htmlspecialchars($_GET["machine_id"]); $machine_id=htmlspecialchars($_GET["machine_id"]);