Black Eagle Team Minishell
Path:
D:
/
inetpub
/
vhosts
/
supauldairy.com
/
httpdocs
/
[
Home
]
File: validation.php
<?php session_start(); include 'config/config.php'; $username = $_POST['username']; $password = $_POST['password']; $s = "select * from users where username= '$username' && password = '$password' && role ='ADMIN' "; $res = mysqli_query($con, $s); $num = mysqli_num_rows($res); if($num == 1 ){ $_SESSION['username'] = $username; header('location:MAIN/tendermaster.php'); } else{ header('location:adminlogin.php'); } ?>
©
2020 Black Eagle Team