Okay this time I will discuss how the Forgotten Password (Forgot Password). actually there are many tutorials about forgotten who discuss this on the Internet, his name is also a student. ga asik if not homemade ..: D Before you begin make sure you have installed the Xampp or you already have a paid or free hosting because basically I created the principle of Php who is concerned with Mysql, Keep you already know what it is Mysql? okeh started it ..
The logic is as shown below ..
The logic is as shown below ..
Request a password when the user will then be searched in a database ..
if there is a "send" if there is no "can not"
Here is the Form Forgot Password
Forgot-Password.php
Later this process who Phpnya after inputted ..
Send_password_ac.php
";
// Your message
$messages= "Password untuk login ke website Lutfiniti.blogspot.com \r\n";
$messages.="Password Anda adalah $your_password \r\n";
$messages.="Jangan Dibalas \r\n";
// send email
$sentmail = mail($to,$subject,$messages,$header);
}
// else if $count not equal 1
else {
echo "Tidak ditemukan email Anda di database kami";
}
// if your email succesfully sent
if($sentmail){
echo "Password anda sudah terkirim ke alamat email";
}
else {
echo "Tidak dapat mengirim password untuk alamat e-mail Anda";
}
?>
Description:: $ host = "localhost"; / / Host name $ username = your "root"; / / Mysql username
$ password = ""; / / MySQL Password (I leave blank)
$ db_name = "example"; / / Name Later the database I Will Make a Demo .. Thx Guys Congratulations creativity ..Download Via Ziddu Disini Commenting below If not please understand ..!

0 Reactions to this post
Add CommentPost a Comment