From f01a1aaf1e6a518f944133306b69abc2cf24f83b Mon Sep 17 00:00:00 2001 From: Frankie B Date: Sun, 2 Oct 2022 17:56:56 +0000 Subject: h --- guestbook/index.php | 2 +- guestbook/submit.php | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'guestbook') diff --git a/guestbook/index.php b/guestbook/index.php index a24c235..9cf3fdb 100755 --- a/guestbook/index.php +++ b/guestbook/index.php @@ -6,7 +6,7 @@ - Bookmarks + Guestbook diff --git a/guestbook/submit.php b/guestbook/submit.php index 67659a6..a2b04cf 100755 --- a/guestbook/submit.php +++ b/guestbook/submit.php @@ -6,7 +6,7 @@ - Bookmarks + Guestbook @@ -17,13 +17,13 @@
You must provide both a name and message!'; } else { $db = new PDO("sqlite:/mnt/data1/webdata/floppydisk/guestbook.db"); - $name = $_POST["name"]; - $msg = strip_tags($_POST["message"]); + $showinfo = isset($_POST["showinfo"]) ? true : false; $showip = isset($_POST["showip"]) ? true : false; $ip = $_SERVER['REMOTE_ADDR']; -- cgit v1.2.3-54-g00ecf