From f20a1be4a918aaa80e45af98602535444e48a22c Mon Sep 17 00:00:00 2001 From: yuudati4 Date: Thu, 9 Mar 2023 14:07:20 +0900 Subject: [PATCH 1/3] first commit --- index2.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index2.html b/index2.html index e69de29..7c4a013 100644 --- a/index2.html +++ b/index2.html @@ -0,0 +1 @@ +aaa \ No newline at end of file From 93e897faa276357693876d4641c76900b16f5b47 Mon Sep 17 00:00:00 2001 From: yuudati4 Date: Thu, 9 Mar 2023 15:01:31 +0900 Subject: [PATCH 2/3] =?UTF-8?q?passward=E3=82=92password=E3=81=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- identify.php | 2 +- login.html | 5 +++-- login.php | 6 ++++-- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/identify.php b/identify.php index a89f509..7e48065 100644 --- a/identify.php +++ b/identify.php @@ -19,7 +19,7 @@ $hashedPassword = hash('sha256', $password); // データを認証する -$sql = "SELECT * FROM `User` WHERE `username` LIKE '" .$hashedUsername. "' AND `passward` LIKE '" .$hashedPassword. "'";//クエリ +$sql = "SELECT * FROM `User` WHERE `username` LIKE '" .$hashedUsername. "' AND `password` LIKE '" .$hashedPassword. "'";//クエリ $result = $mysqli->query($sql); //echo $result -> num_rows; diff --git a/login.html b/login.html index 92ecbea..69c3b47 100644 --- a/login.html +++ b/login.html @@ -8,6 +8,7 @@ +

新規登録

@@ -36,9 +37,9 @@