質問編集履歴
1
phpファイル修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -48,15 +48,15 @@
|
|
48
48
|
|
49
49
|
|
50
50
|
|
51
|
-
$id = filter_input(INPUT_POST,
|
51
|
+
$id = filter_input(INPUT_POST, 'id');
|
52
52
|
|
53
|
-
$pass = filter_input(INPUT_POST,
|
53
|
+
$pass = filter_input(INPUT_POST, 'password');
|
54
54
|
|
55
55
|
|
56
56
|
|
57
57
|
foreach ($memberlist as $name => $val) {
|
58
58
|
|
59
|
-
if (($val [
|
59
|
+
if (($val ['id'] === $id) && ($val ['password'] === $pass)) {
|
60
60
|
|
61
61
|
echo $name. "<br/>";
|
62
62
|
|