From fc3d9468a1da52cee0fe4d7f33a2089d7bd36853 Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Mon, 24 Feb 2020 04:43:53 +0100 Subject: [PATCH] added %NO_CHEAP_SESSION_STEALING% --- threadr/about/index.php | 4 ++++ threadr/boards/index.php | 8 ++++++-- threadr/index.php | 4 ++++ threadr/login/index.php | 4 ++++ threadr/news/index.php | 6 +++++- threadr/signup/index.php | 4 ++++ threadr/signup/verify-email/index.php | 2 ++ 7 files changed, 29 insertions(+), 3 deletions(-) diff --git a/threadr/about/index.php b/threadr/about/index.php index 5b454c7..93d1472 100644 --- a/threadr/about/index.php +++ b/threadr/about/index.php @@ -1,3 +1,7 @@ + diff --git a/threadr/boards/index.php b/threadr/boards/index.php index 92dc1df..3c7919f 100644 --- a/threadr/boards/index.php +++ b/threadr/boards/index.php @@ -1,3 +1,7 @@ + @@ -25,7 +29,7 @@ $pdo = new PDO('mysql:host=localhost;dbname=web', 'webstuff', 'Schei// auf Pa$$w0rter!'); $error = false; $error_message = ""; - + if (!$error) { $statement = $pdo->prepare("SELECT * FROM boards"); $statement->execute(); @@ -34,7 +38,7 @@ echo "
  • $ROW[name]
  • "; } } - + if (!$result) { $error_message = "Error: SQL error.\n" . $statement->queryString . "\n" . $statement->errorInfo()[2]; } diff --git a/threadr/index.php b/threadr/index.php index 83c70f0..9723188 100644 --- a/threadr/index.php +++ b/threadr/index.php @@ -1,3 +1,7 @@ + diff --git a/threadr/login/index.php b/threadr/login/index.php index a3d2e62..2173afd 100644 --- a/threadr/login/index.php +++ b/threadr/login/index.php @@ -1,3 +1,7 @@ + diff --git a/threadr/news/index.php b/threadr/news/index.php index c0fc80c..d9f4a4f 100644 --- a/threadr/news/index.php +++ b/threadr/news/index.php @@ -1,3 +1,7 @@ + @@ -25,7 +29,7 @@ + diff --git a/threadr/signup/index.php b/threadr/signup/index.php index 2016e0e..af5ec27 100644 --- a/threadr/signup/index.php +++ b/threadr/signup/index.php @@ -1,3 +1,7 @@ + diff --git a/threadr/signup/verify-email/index.php b/threadr/signup/verify-email/index.php index dbaca87..a68b664 100644 --- a/threadr/signup/verify-email/index.php +++ b/threadr/signup/verify-email/index.php @@ -1,4 +1,6 @@