From bf438cfbbaf921fbf5cfdb5c09914f42c2d4ba2f Mon Sep 17 00:00:00 2001 From: 5803025035 Date: Tue, 9 Dec 2025 22:44:51 -0500 Subject: [PATCH] Delete index.php --- index.php | 50 -------------------------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 index.php diff --git a/index.php b/index.php deleted file mode 100644 index b02ef56..0000000 --- a/index.php +++ /dev/null @@ -1,50 +0,0 @@ -prepare('SELECT id, password FROM users WHERE username = ? LIMIT 1'); -$stmt->execute([$username]); -$user = $stmt->fetch(); -if ($user && password_verify($password, $user['password'])) { -session_regenerate_id(true); -$_SESSION['user_id'] = $user['id']; -$_SESSION['username'] = $username; -header('Location: menu.php'); -exit; -} else { -$err = 'Username atau password salah.'; - } - } -} -?> - - - - - -Login - Dam Inggris - - - -
-

Login - Ke Main Menu

-
-
- - - -
-

Belum punya akun? Daftar di sini

-
- - \ No newline at end of file