diff --git a/GAMES#2.html b/GAMES#2.html deleted file mode 100644 index b166e17..0000000 --- a/GAMES#2.html +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - Blackjack [21] - - -
-
-

Blackjack [21]

-
-
-
Bank: 1000
-
Taruhan: 0
-
-
- - - -
-
-
- -
-
-
Dealer
-
-
-
- -
-
Pemain
-
-
- -
- - - -
-
-
-
- - -
- - - - - diff --git a/alex git.html b/html.php similarity index 100% rename from alex git.html rename to html.php diff --git a/koneksi.php b/koneksi.php new file mode 100644 index 0000000..f1df661 --- /dev/null +++ b/koneksi.php @@ -0,0 +1,12 @@ + diff --git a/login page.html b/login.php similarity index 92% rename from login page.html rename to login.php index 2786973..39a7217 100644 --- a/login page.html +++ b/login.php @@ -1,3 +1,47 @@ + + +if (mysqli_num_rows($result) === 1) { + $row = mysqli_fetch_assoc($result); + + if (password_verify($password, $row['password'])) { + echo "success"; + } else { + echo "wrongpass"; + } +} else { + echo "nouser"; +} +?> + + diff --git a/signup.php b/signup.php new file mode 100644 index 0000000..497ae7e --- /dev/null +++ b/signup.php @@ -0,0 +1,16 @@ +