GOOGLE

aku nok ndi : /home/astwardha/public_html/polylibrary/
File Up :
aku nok ndi : /home/astwardha/public_html/polylibrary/forget.php

<?php include('dbcon.php');

if(isset($_POST['forgetpss'])){
	extract($_POST);

	$sql = mysql_query("SELECT * FROM `registration` WHERE `email_id`='".$email."'");
	$selsql = mysql_fetch_array($sql);
	if($selsql['email_id']==$email){
	$to=$email;
	$subject="ACP Wardha Password";
	// From
	$header="from: ACP Wardha <acp@acpwardha.org>";
	// Your message
	$message="Username :- ".$selsql['email_id']."\r\n";
	$message.="password  :- ".$selsql['pasword_hint']." \r\n";
	// send email
	$sentmail = mail($to,$subject,$message,$header);
	echo "<script>
	alert('username and password send on your registerd mail ID please check and login');
	window.location.href='loginpage.php';
	</script>";
}else{
echo "<script>
	alert('Email Id not Match');
	window.location.href='loginpage.php';
	</script>";
}
}?>

Copyright © 1945 - 2024 GOOGLE