| Server IP : 152.53.162.115 / Your IP : 216.73.217.85 Web Server : Apache/2 System : Linux host 6.12.0-55.40.1.el10_0.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Oct 21 05:54:51 EDT 2025 x86_64 User : pbshosting ( 1005) PHP Version : 8.3.30 Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/pbshosting/domains/arunshekarfilms.com/public_html/adminpanel/ |
Upload File : |
<?php
require_once('db.php');
if(isset($_POST['submit']))
{
$msg="";
$email=$_POST['email'];
$res=mysqli_query($con,"select * from `admin` where email='$email' ");
if(mysqli_num_rows($res)==1)
{
$row=mysqli_fetch_array($res);
$em=$row[3];
$_SESSION['email']=$row['email'];
// echo $em;
header('Location:forgot_password.php');
exit();
}
else
{
echo 'Please enter valid usename or password';
}
}
?>
<html>
<head>
<style type="text/css">
input{
border:1px solid olive;
border-radius:5px;
}
h1{
color:darkgreen;
font-size:22px;
text-align:center;
}
</style>
<style>
.error{
color:#F00;}
</style>
</head>
<body>
<h1>Forgot Password<h1>
<form id="forgot" action='' method='post'>
<table cellspacing='5' align='center'>
<tr><td>Email id:</td>
<td><input type='text' name='email' class="required"/>
</td></tr>
<tr><td></td><td><input type='submit' name='submit' value='Submit'/></td></tr>
</table>
</form>
<script src="js/jquery.min.js"></script>
<script src="js/jquery.validate.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#forgot").validate({
messages:{
email: {
required:"Enter Email",
},
},
});
});
</script>
</body>
</html>
<strong></strong>