Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- include 'dbh.php';
- $Username = $_POST['Username'];
- $Password = $_POST['Password'];
- $sql = "SELECT * FROM account WHERE Username='$Username'";
- $result = $conn->query($sql);
- while ($row = $result->fetch_assoc()) {
- $UsernameActualhashedPassword = $row['Password'];
- }
- $input = $Password;
- echo $input;
- echo $UsernameActualhashedPassword;
- echo password_verify($input, $UsernameActualhashedPassword);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement