Kashipara.com is a community of ONE million programmers and students, Just like you, Helping each other.Join them. It only takes a minute: Sign Up
Job Resume Templatecan you please tell me the employee and admin password?
Username: poonamb Password: password
2019-02-19 12:31:13Username: poonamb Password: password
2019-02-19 12:30:58Username: poonamb Password: password
2019-02-19 12:30:35Modify your admin login script to <?php session_start(); include 'includes/conn.php'; $username = $_POST['username']; $password = $_POST['password']; $sql = "SELECT * FROM admin"; $result = $conn->query($sql); while($row = $result->fetch_assoc()) { if(($username == $row["username"]) && ($row["password"] == sha1($password))) { $_SESSION['admin'] = $row['id'];; header('location: index.php'); } else { header('location: index.php?err='.urlencode('Username Or Password Incorrect')); } } ?> Then from your database encode the password to sha1 and save, that should get you started
2018-07-30 06:01:15