port from perforce

This commit is contained in:
2026-04-18 22:31:51 +02:00
commit 8d0ab5b7cc
8409 changed files with 3972376 additions and 0 deletions

22
web/gb-submit.php Normal file
View File

@@ -0,0 +1,22 @@
<?php
if (!isset($_GET["poster"]) || $_GET["poster"] == "")
{
echo "Please enter your handle";
die();
}
if (!isset($_GET["text"]) || $_GET["text"] == "")
{
echo "Please enter a message";
die();
}
$ls_Poster = $_GET["poster"];
$ls_Text = $_GET["text"];
include('connect.php');
$gk_Db->Query("INSERT INTO `guestbook` (`ID`, `date`, `poster`, `text`) VALUES ('', NOW(), '$ls_Poster', '$ls_Text')");
echo "ok";
?>