PHP Forgot Password Recovery system for your website + source code | Quick programming tutorial

  Рет қаралды 18,350

Quick Programming

Quick Programming

Күн бұрын

Пікірлер: 57
@juneldelacuadra5973
@juneldelacuadra5973 2 жыл бұрын
This is the most detailed tutorial ever in KZbin. Thank you so much for your effort !
@franksrebot8997
@franksrebot8997 Жыл бұрын
Thanks for the great video! The only issue I had was I had my 2 step verification on in my gmail account, and I was testing it with my regulat gmail password and it did not work. Once I created and used an extra app password through the 2 step verification links, it worked like a charm!! Thanks again!
@LetsBland9411
@LetsBland9411 Жыл бұрын
I don't usually comment on videos but this one leave me with no hope it's more than good for me to keep quiet ..♥️♥️♥️🤯 immediately I just subscribed and hit bell all
@QuickProgramming
@QuickProgramming Жыл бұрын
Wow, thank you for the compliment and thanks for the sub as well :)
@pcprodoc
@pcprodoc 3 жыл бұрын
One thing I have noticed with your code is it is very simplified. The one thing I do not understand is why you do not use prepared statements when you are working with mysql database. It is known this is a security flaw to avoid "sql injections." Regardless if you are working with a "localhost" for those who want to use these on a LIVE server, may be put at risk. Has something changed recently that this is not practiced anymore? These should be meant as STRICTLY as tutorials and not a means of use on public servers. Correct me if I am wrong here.
@QuickProgramming
@QuickProgramming 3 жыл бұрын
yes, its always better to use prepared statements. i use them in more detailed videos on the channel, however they are not good for teaching purposes when it comes to simple code like this. its better to learn the basics first, then advance to prepared statements later if you need to. a bomb is good at destroying things, but its not always the best tool. in my code i use "addslashes" function to escape any suspicious text in the variables. this is usually enough to block sql injection. unless you're running a bank or financial institution, this is more than enough. people who run banks and applications that need more security than that are not on youtube watching tutorials because they are already professionals. this is why i dont bother with prepared statements on such small projects. if you want to learn prepared statements, check these videos: kzbin.info/www/bejne/naGmdaJmecmkeLc kzbin.info/www/bejne/pnqyYaOjgrl9bLs
@louiskelly5458
@louiskelly5458 2 жыл бұрын
wow very awesome i love this tuturial thanks for the video indeed you channel is awesome. Keep up the good work i appreciate
@QuickProgramming
@QuickProgramming 2 жыл бұрын
thanks for the feedback and you're most welcome :)
@jodhaniarpit8949
@jodhaniarpit8949 8 ай бұрын
Hii password not show in database and not login to email id and password (changed password)
@fal8202
@fal8202 3 жыл бұрын
You did it again , congrats for the great job of explaining your thinking process during coding while making the experience enjoyable ! one question though: i have followed your MVC model which you created in another video , so to include a PW recovery part within this model , where should i position the mail.php file and the PHPMailer_master? i put both in controller folder but i keep getting errors like "Warning: require(../controllers/PHPMailer-master/src/Exception.php): Failed to open stream: No such file or directory in C:\xampp\htdocs\Memo\app\controllers\mail.php on line 7", appreciate your feedback .
@QuickProgramming
@QuickProgramming 3 жыл бұрын
usually extra functionality should be added in the models folder. just keep in mind that all references to include files are relative to the public folder. so if i want to include a file from the models folder, it would be like this: include("../app/models/file.php"); so add your files in there and try that
@fal8202
@fal8202 3 жыл бұрын
@@QuickProgramming thanks for your reply , I have used : require "".__DIR__."/PHPMailer-master/src/Exception.php"; and so on for the rest of the Mailer files, my problem was that I was using : require "".ROOT."/PHPMailer-master and ROOT was path constant that did not lead to the PHPMailer file. so this use of ._DIR_. worked just fine.
@QuickProgramming
@QuickProgramming 3 жыл бұрын
@@fal8202 oh i see. ist because ROOT has http::localhost and not the actual path. you're right to use __DIR__ its the proper way
@volkantansk816
@volkantansk816 Жыл бұрын
I am getting SMTP connect() failed error. I got an e-mail once succesfully but then nothing.
@fikrirazi5017
@fikrirazi5017 11 ай бұрын
Sir, in the forgot script, my variable $con cannot be read at function send_email, function save_password, and function is_code_correct. Do i need to assign new value on that $con?
@JoyJones-qg4yl
@JoyJones-qg4yl Ай бұрын
Do you have a tutorial for forgot username as well.
@nadianadi5254
@nadianadi5254 2 ай бұрын
Hello l have question why in search bar i still can access enter_code and enter_password my session not working can you help me
@waltergermanes4528
@waltergermanes4528 2 жыл бұрын
The code not sent to my Gmail
@emir.siriner
@emir.siriner 3 жыл бұрын
Very good work. Thanks for share...
@QuickProgramming
@QuickProgramming 3 жыл бұрын
Thank you!
@mfs6165
@mfs6165 3 жыл бұрын
Lan aha Türk nasılsın 😅😅
@xyznikk
@xyznikk 2 жыл бұрын
49:41 Hey i have a question,shouldn't you hash the token incase of a hackers or it doesn't matter?
@lawrencestixx2394
@lawrencestixx2394 2 жыл бұрын
amazing video but i did not recieve any mail when I tried it out..i got an error instead
@anselmdike2817
@anselmdike2817 3 жыл бұрын
Nice ...
@QuickProgramming
@QuickProgramming 3 жыл бұрын
Thank you! Cheers!
@gametimesportsbar2408
@gametimesportsbar2408 Жыл бұрын
How can i delete old codes as not to take up space? Also, do you have a video where you use prepared statements?
@QuickProgramming
@QuickProgramming Жыл бұрын
code doesnt usually take up much space, so if you're not sure which code to delete on a working website, better to not delete anything or you may risk deleting useful stuff. If you wrote the code yourself, then you would know what to delete on your own. i use prepared statements in these two videos: kzbin.info/www/bejne/naGmdaJmecmkeLc kzbin.info/www/bejne/pnqyYaOjgrl9bLs
@lloydnorbal3393
@lloydnorbal3393 Жыл бұрын
Good evening good sir I trying to use the on the mvc website, where the forms are in the view file and the switch statement is in the controller file but it doesn't seems switch the form when I click the next button, can you assist with this if possible
@QuickProgramming
@QuickProgramming Жыл бұрын
that could be caused by the GET variables not being passed properly in your URLs. also if the session isnt working properly to store data
@moradayari1749
@moradayari1749 3 жыл бұрын
hii are u gonna do athoer project in other langauge like java mayby?
@QuickProgramming
@QuickProgramming 3 жыл бұрын
no, only php, javascript and related technologies. i'll open another channel for python and java
@ichbalreyvaldo8545
@ichbalreyvaldo8545 2 жыл бұрын
good videoo 🤩🤩
@QuickProgramming
@QuickProgramming 2 жыл бұрын
Thank you 🤗
@igu642
@igu642 Жыл бұрын
❤❤
@khanmiraj1703
@khanmiraj1703 2 жыл бұрын
PHPMailer system is not code not working, code not send to email
@QuickProgramming
@QuickProgramming 2 жыл бұрын
what error do you get?
@khanmiraj1703
@khanmiraj1703 2 жыл бұрын
@@QuickProgramming register or login everything ok ,but my mail box not send email
@khanmiraj1703
@khanmiraj1703 2 жыл бұрын
When login then not showing index file
@QuickProgramming
@QuickProgramming 2 жыл бұрын
did you manage to fix your issue?
@khanmiraj1703
@khanmiraj1703 2 жыл бұрын
No
@hammadarif4794
@hammadarif4794 2 жыл бұрын
sir code not recived in the mail need help
@QuickProgramming
@QuickProgramming 2 жыл бұрын
if you're using phpmailer, it may be the issue. use the simple mail function that comes with php but on a live server
@Dihansa468
@Dihansa468 Жыл бұрын
There's a little problem, everything works fine but the new password doesn't get updated in the database because of that I can only login using the old password. I rechecked the code along with the video. I didn't find any errors. Please help!
@QuickProgramming
@QuickProgramming Жыл бұрын
probably something wrong with the query that should make the changes. echo the query, copy it and paste it directly in phpmyadmin on the SQL tab and run it to see if it works or shows an error
@Dihansa468
@Dihansa468 Жыл бұрын
@@QuickProgramming I don't quite understand how to echo the query. Help plz
@QuickProgramming
@QuickProgramming Жыл бұрын
@@Dihansa468 echo $query; You put that code after creating the query. You may also want to watch my beginner video on php. Search my channel for 'php beginner tutorial'. It explains most of this stuff🙂
@QuickProgramming
@QuickProgramming Жыл бұрын
@@Dihansa468 watch this video kzbin.info/www/bejne/ZnSpgqCZp7Vlmqc
@mfs6165
@mfs6165 3 жыл бұрын
Wow
@SirCruz-ms5jp
@SirCruz-ms5jp 2 жыл бұрын
Hello sir, Why didn't I get any mail? I copied your source code. It was only received in the database and not in my inbox (Gmail).
@oloyedetaiwo8960
@oloyedetaiwo8960 2 жыл бұрын
I'm new to this but can you send me the source code to this project
@skanderlandolsi6182
@skanderlandolsi6182 Жыл бұрын
Did you find solution ?
@webdev_sabareesh
@webdev_sabareesh Жыл бұрын
Video is soo much useful but the source code file has viruses don't download this link
@QuickProgramming
@QuickProgramming Жыл бұрын
Lol viruses?😂 You made me laugh
@igu642
@igu642 Жыл бұрын
❤❤
Каха и лужа  #непосредственнокаха
00:15
Random Emoji Beatbox Challenge #beatbox #tiktok
00:47
BeatboxJCOP
Рет қаралды 66 МЛН
PHP Password Reset by Email
20:56
Dave Hollingworth
Рет қаралды 62 М.
9. Change Password Java Swing
16:56
The Cyber Pars
Рет қаралды 9 М.