diff options
author | Frankie B <floppydisk05@aol.com> | 2022-10-02 17:28:45 +0000 |
---|---|---|
committer | Frankie B <floppydisk05@aol.com> | 2022-10-02 17:28:45 +0000 |
commit | 8f756be28b8dfed1f2fc5bee4fb8bb4f54654c5b (patch) | |
tree | 91ad8a8ad32fd006d2d109ec491851833aa5cf14 /guestbook | |
parent | e6b42b8f33db530d323b2e92ec3111d69714bfc6 (diff) |
Hell naw
Diffstat (limited to 'guestbook')
-rwxr-xr-x | guestbook/submit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guestbook/submit.php b/guestbook/submit.php index 8c38dca..67659a6 100755 --- a/guestbook/submit.php +++ b/guestbook/submit.php @@ -23,7 +23,7 @@ } else { $db = new PDO("sqlite:/mnt/data1/webdata/floppydisk/guestbook.db"); $name = $_POST["name"]; - $msg = htmlspecialchars($_POST["message"]); + $msg = strip_tags($_POST["message"]); $showinfo = isset($_POST["showinfo"]) ? true : false; $showip = isset($_POST["showip"]) ? true : false; $ip = $_SERVER['REMOTE_ADDR']; |