PHP Login System Tutorial with MYSQL
Вставка
- Опубліковано 9 сер 2021
- In this lesson we'll be covering how to create a login and register system in PHP with associated MySQL database! This tutorial is aimed at beginners, but we'll cover several topics along the way such as PHP sessions, PHP data sanitization, cookies, form error messages, and more.
💖 SUBSCRIBE (Please) 💖
ua-cam.com/users/FollowAndrew?s...
STARTING FILES:
github.com/wilsmex/edu/tree/m...
#php #login #system #mysql
Some programming for today, plus a double intro! What do you want to see next?
maybe a simple MVC with TASK NOTE PROJECT with USER ROLE access
I'm watching this one because it's over a year since I worked PHP and MYSQL. My older machine had pre 8.1 PHP installed is 8.0 or 8.1 and my old project isn't playing nice to the changes (at least that's my guess as it works fine on the older computer with the older installation).
So glad I found this video! I'm only 20 minutes in, and I already appreciate it so much. You have a clear and understandable teaching style, and it's nice to see some up to date PHP tutorials. Thanks!
I just wanted to say thank you so much. I've seen all of your css tutorials.
Thank you for the awesome tutorial! you explained everything very well and didn't leave anything vague.
Excellent video, I was actually looking for something like this. Thanks for sharing
You are great man, I loved it, even it was easy to understand, so I did it without any error! Thnaks man.
Learned SO much! Thank you for sharing, God bless! Already subscribed.
You, sir, are an awesome teacher!
Awesome tutorial! Learned a lot!
Thank you bro this is the best login system I've seen on the youtube💯💯💯💯
Glad it helped
I am subscribing now, thank you for this Andrew :)
Awesome, thank you!
This was great. Thank you and subbed.
Awesome video. Thank you!
Thank you for this video, excellent.
Thanks for another great tutorial. It would be good to follow-up this tutorial with how to add email verification which would also work well with your other tutorial on Form with validation and email sending. I look forward to the possibility. Also, very surprised you don’t get more views and likes. Thanks again
Great suggestion!
Amazing!!!!! Thanks a lot!!! You are the best!!!!!!
You're welcome!
Perfect. Thank you!
What are there vulnerabilities of leaving the username/password in the php code?
This is a great tutorial, i like the clear explanation., need to update some functions like SANITIZERS which deprecated
Great work
Thank you!
Nice one!
Thank you
I just subscribed; love your channel; it is easy to follow ... Thanks for the videos. I'd love to watch 'EZproxy: Access and authentication software' if you could make one. much appreciated.
Can you please make a video on Complementary in css
Please continui php tutorials
Thanks
It still a Great tutorial Andrew, after a year or so ... but I have a problem with the hashed password, the code couldn't match any password.
Edit: the reason was the password field was very short, I changed it to length 255 worked like charm :)
Thank you so much it was great the best toturial i have seen.
Just one thing my $_SESSION['user'][userid'] = $row['ID'] did not work it gives an error.
I know I'm late to this party but what worked for me finally was. echo " Welcome User: ".($_SESSION['user']['name'])."";
i'm having a hard time getting users registered. It does show if an account/email already exists so it's connecting to mysql database. i've watched this 3 times to see if i have errors and not finding any. anyone have advice?
Real you do I great job but should share your code because may face problems and we can't fix
I face problem in inserting user to database took all day in this point at last I changed code in try method
the password_verify just constantly gives me a "Wrong Email or password " error even when the password is correct :(
same any fix?
@@lukekelly1934 nope
From my experience the problem for password_verify() "not working" is that the field in the database is too small to hold a password hash - for the default bcrypt hashing method it needs to be at least 60 characters (personally I recommend making it a varchar(255) to support future hashing methods that may use longer hashes).
sir please make a php mysqli prepare statement registration system add remember me with phpMailer class email send link click after registration and forgot password gmail link send use ui bootstrap 5 error message bootstrap not use oops and pdo
I think this was about login validation...but I couldn't read the code, it was so blurry and 'tiny'. I finally used a large rectangle magnifying glass my GrandMother left me.
He has links to the start of the code at least which helped. The rest you had to follow along with and then hope no changes in how the PHP was handled by your version.
Turn up your resolution level to 720p, it seems pretty clear with that.
XAMPP workes Linux, MAC, and Windows. Mampp seems to obsessively refuse to work with Linux. Only with Mac and Windows. Inexcusable!
How to enable http2 or http3 ua-cam.com/video/0vYiLXJCNfg/v-deo.html
PDO