Forgot password and password reset forms using PHP and MYSQL database | PHP in Hindi

preview_player
Показать описание
Forgot password and password reset forms are must for a login system. In this tutorial, we will create a forgot password system in PHP with an MYSQL database. We are creating a complete login and signup system from scratch. In the previous tutorial, we completed the login form and signup form process in PHP. In this tutorial, we will create forms for forgotten password and reset the password using PHP programming and MYSQL.
The previous tutorial is here -
Registration and login in PHP , MYSQL, and Bootstrap (part 1)
Registration and login in PHP with MYSQL| Sign in and signup form using PHP (Part 2)
Update user profile by a session in PHP and MYSQL | Edit Profile image while logged in (Part 3)
How to change login password in PHP and MYSQL | Update user password while logged in | PHP Tutorial (Part 4 )
Forgot password and password reset forms using PHP and MYSQL database | PHP in Hindi (Part 5 )
Complete Playlist

How to create a forgot password and password reset forms in PHP with MYSQL -
The forgot password and reset password forms are very important for the login system. We will follow the following steps -
1. Create a Password reset data table in the MYSQL database.
2. Create an HTML form for forgot password with username and email.
3. Find the user and insert email and token id in the password reset data table.
4. Create another form for password reset and hold token value from the URL
5. Update user password
This video tutorial has been created in the Hindi language. This is another part of PHP in Hindi series. Create a Forgot password system in PHP in Hindi.
Reference for this tutorial -
Website

For any questions use our Techno Smarter QA platform.
Ask the Question
or other videos by Techno Smarter...Subscribe below links!!
Youtube Channel
Facebook
Twitter
Instagram
#technosmarter #forgot #password #forgot_password_in_PHP #password-reset_form_in_PHP #forgot_form #update_form #password_update_in_PHP

Reference -
1. Forgot password and password reset form in PHP in Hindi
2. Password update system in PHP with MYSQL
3. Password update link generator in PHP and MYSQL
Рекомендации по теме
Комментарии
Автор

Update user profile by a session in PHP and MYSQL | Edit Profile image while logged in (Part 3)

TechnoSmarter
Автор

Bestest explanations on whole YTube !👍👍👍💖

I_am_CSR
Автор

Sir, Your channel is just wonderful.It is Amazing

Durgaprasannakalia
Автор

Hey!, once I put the token in the url and type in the new passwords in the input field and click on reset, It is opening the forgot-process.php file and showing white screen? Currently running on localhost though. Is it fine?
Thank You for the amazing tutorials also :-D

Hawk
Автор

sir please help
when I clicked reset password
there is showing

Notice: Undefined variable: token in
on line 44

Please solve it
thank you!

heyswad
Автор

All is ok but you can send mail because you had used other things like Cpanel and domain racer right?

swapnildalimbe
Автор

how can we use smtp server not mail function

shambhuyadav
Автор

Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'root'@'localhost' (using password: NO) in what should i do

komateswaran
Автор

Hello sir I have an issues in forget password when I enter user name it tells that the sever failed to send the message please try again. Can u solve these issue sir

garenagamingyt
Автор

Sir, I have 2 in the forgot_process.php there are 2 email ids the noreply and the other user's email id which have been input. So, how will the website fetch that if a user forgets his password and goes for the forget password option then he'll receive email from the noreply email id only? And if not then tell me how to connect the noreply email so that the user will receive a mail from that particular email id.

And the other is that there will be multiple users. If we have inserted a default email id, what does it state? I mean, if we have already provided an email id in our code what does it represent. Will, not our code work if we leave the $_ReplyTo place blank in our code to let only the user input his own id?

Please guide me.

aasthaavadhi
Автор

Sir I am have error in forgot process. Php in that I am facing call to undefined function random _bytes()

jackarmy
Автор

Sir, login page me image nahi load ho rahi logo ki...image.png krke kiya maine.. fir bhi.

KomalMamHere
Автор

sir when i use to give email-id and click send link this message arrives ->The server failed to send the message. Please try again later.. can you please tell how to solve this sir

manimaran-rxen
Автор

Hello sir, I used your source code but when i run password-reset or forgot_password it shows me account page. Pls help me

meghananarvekar
Автор

Mera The server failed to send the message problem aa rha hai help

totaltechg
Автор

Sir php tutorial is very nice but why are you create your website in html

androiddeveloper
Автор

Bro I Recive mail but can't open token link

relaxingsongsall
Автор

Fatal error: Call to undefined function random_bytes() in on line 15 plz fix this

kajalyadhuvanshi
Автор

<?php
if(isset($_POST['chk'])))
{

echo "value is".$hold_chkvalue;
}
?>
<form name="f" method="POST">
<input type="checkbox" name="chk" value="jquery" <?php echo 'checked'; } ?> onclick="submit();" />
</form>
MY QUESTION IS--When checkbox checked value display when checkbox unchecked value disappear.(Using only PHP code) .but here the value disappearing is very late

Durgaprasannakalia
Автор

it gives error inpassword reset page... line 45 undefine veriable $token

khanturi