From 126aed3f5474b6f623b5cc7e42a0872192ba8a9c Mon Sep 17 00:00:00 2001 From: wiecktobi <39270895+wiecktobi@users.noreply.github.com> Date: Sun, 10 Jun 2018 13:25:12 +0200 Subject: [PATCH] Delete login.php --- login.php | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 login.php diff --git a/login.php b/login.php deleted file mode 100644 index 2cb3a58..0000000 --- a/login.php +++ /dev/null @@ -1,22 +0,0 @@ -real_escape_string($_POST['registerName']); - $pswd = $database->real_escape_string($_POST['registerPassword']); - $email = $database->real_escape_string($_POST['registerMail']); - - - $abfrage = "SELECT password WHERE $name=user"; - if ($pswd == $abfrage) { - // code.. - echo "HI"; - } - // if ($abfrage == "") { - $stmt = $database->prepare("INSERT INTO user(user, email, password) VALUES (?,?,?)"); - $stmt->bind_param("sss", $name, $email, $pswd); - $stmt->execute(); - $stmt->close(); - // } - - ?>