| Server IP : 50.63.8.194 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT P3NWVPWEB026 10.0 build 17763 (Windows Server 2016) AMD64 User : IWPD_7824(SpiPanel) ( 0) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : G:/PleskVhosts/polyprep.in/mmitshamli.ac.in/mmit_shamli/admin/ |
Upload File : |
<?php
include("connection.php");
$email=$_POST['email'];
$password=$_POST['pass'];
$query="select * from tbl_admin where email='$email' and password='$password'";
$res=mysqli_query($dbCon,$query);
$result=mysqli_num_rows($res);
if($row=mysqli_fetch_array($res)&& $result==1)
{
session_start();
$_SESSION['user']=$email;
header("Location:dashboard.php");
}
else
{
header("Location:../home/adminLogin.php?msg=1");
}
?>