From 12430221001cecb92fd1fb4fce7b3baf91d7ba01 Mon Sep 17 00:00:00 2001 From: kj-sh604 Date: Thu, 8 Aug 2024 18:45:42 -0400 Subject: refactor: design improvments and fixes --- index.php | 158 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 75 insertions(+), 83 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 3e1e18b..abe50d1 100644 --- a/index.php +++ b/index.php @@ -1,17 +1,22 @@ +session_start(); + +if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['compile'])) { + $_SESSION['user-input'] = htmlspecialchars($_POST['user-input'], ENT_QUOTES, 'UTF-8'); +} +?> - +
- - - - + + + +- -
+
@@ -137,7 +119,7 @@ session_start(); ?>
-
It's highly recommended that you use markdown lists rather than plain text lists
It's highly recommended that you use markdown lists rather than plain text lists