PHP Login System Tutorial with MYSQL

  Рет қаралды 21,892

FollowAndrew

FollowAndrew

2 жыл бұрын

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) 💖
kzfaq.info?s...
STARTING FILES:
github.com/wilsmex/edu/tree/m...
#php #login #system #mysql

Пікірлер: 49
@FollowAndrew
@FollowAndrew 2 жыл бұрын
Some programming for today, plus a double intro! What do you want to see next?
@1zero154
@1zero154 2 жыл бұрын
maybe a simple MVC with TASK NOTE PROJECT with USER ROLE access
@gonefishing2006
@gonefishing2006 Жыл бұрын
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).
@DesainysDancer
@DesainysDancer 2 жыл бұрын
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!
@fernandosalas4885
@fernandosalas4885 2 жыл бұрын
I just wanted to say thank you so much. I've seen all of your css tutorials.
@Ali-lt1kb
@Ali-lt1kb 2 жыл бұрын
Thank you for the awesome tutorial! you explained everything very well and didn't leave anything vague.
@sandeepraghuvanshi1018
@sandeepraghuvanshi1018 2 жыл бұрын
Excellent video, I was actually looking for something like this. Thanks for sharing
@jeremyharvard6057
@jeremyharvard6057 Жыл бұрын
You are great man, I loved it, even it was easy to understand, so I did it without any error! Thnaks man.
@Oletechiegirl
@Oletechiegirl Жыл бұрын
You, sir, are an awesome teacher!
@mairarocha7426
@mairarocha7426 2 жыл бұрын
Learned SO much! Thank you for sharing, God bless! Already subscribed.
@eugenem529
@eugenem529 2 жыл бұрын
Awesome tutorial! Learned a lot!
@biznesmen8295
@biznesmen8295 2 жыл бұрын
Thank you bro this is the best login system I've seen on the youtube💯💯💯💯
@FollowAndrew
@FollowAndrew 2 жыл бұрын
Glad it helped
@1zero154
@1zero154 2 жыл бұрын
I am subscribing now, thank you for this Andrew :)
@FollowAndrew
@FollowAndrew 2 жыл бұрын
Awesome, thank you!
@rodwinpieterse1950
@rodwinpieterse1950 Жыл бұрын
This was great. Thank you and subbed.
@omarlaralima2459
@omarlaralima2459 Жыл бұрын
Awesome video. Thank you!
@laszlogyor6628
@laszlogyor6628 2 жыл бұрын
Thank you for this video, excellent.
@swinginonthespiral8765
@swinginonthespiral8765 2 жыл бұрын
Perfect. Thank you!
@swinginonthespiral8765
@swinginonthespiral8765 2 жыл бұрын
What are there vulnerabilities of leaving the username/password in the php code?
@alvaropedreiro
@alvaropedreiro Жыл бұрын
Amazing!!!!! Thanks a lot!!! You are the best!!!!!!
@FollowAndrew
@FollowAndrew Жыл бұрын
You're welcome!
@user-ys3uu5un6l
@user-ys3uu5un6l Жыл бұрын
Thank you!
@TheAdamsalam
@TheAdamsalam Жыл бұрын
This is a great tutorial, i like the clear explanation., need to update some functions like SANITIZERS which deprecated
@photoinshot1355
@photoinshot1355 2 жыл бұрын
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
@FollowAndrew
@FollowAndrew 2 жыл бұрын
Great suggestion!
@tymiller2596
@tymiller2596 3 ай бұрын
Great work
@kentwilson6458
@kentwilson6458 2 жыл бұрын
Thank you
@ChartataGlance
@ChartataGlance Жыл бұрын
Nice one!
@sunilpatra6975
@sunilpatra6975 2 жыл бұрын
Thanks
@hyolee9040
@hyolee9040 Жыл бұрын
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.
@biznesmen8295
@biznesmen8295 2 жыл бұрын
Please continui php tutorials
@somnathgolui2912
@somnathgolui2912 2 жыл бұрын
Can you please make a video on Complementary in css
@TheAdamsalam
@TheAdamsalam Жыл бұрын
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 :)
@sudaneize
@sudaneize Жыл бұрын
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
@dollysnow8558
@dollysnow8558 2 ай бұрын
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?
@wahidamini7591
@wahidamini7591 2 жыл бұрын
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.
@gonefishing2006
@gonefishing2006 Жыл бұрын
I know I'm late to this party but what worked for me finally was. echo " Welcome User: ".($_SESSION['user']['name'])."";
@ShahzaibKhan-wh5hh
@ShahzaibKhan-wh5hh 2 жыл бұрын
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
@cbbcbb6803
@cbbcbb6803 10 ай бұрын
XAMPP workes Linux, MAC, and Windows. Mampp seems to obsessively refuse to work with Linux. Only with Mac and Windows. Inexcusable!
@zZ-Wipeout-Zz
@zZ-Wipeout-Zz 2 жыл бұрын
the password_verify just constantly gives me a "Wrong Email or password " error even when the password is correct :(
@lukekelly1934
@lukekelly1934 2 жыл бұрын
same any fix?
@truthprevails4386
@truthprevails4386 2 жыл бұрын
@@lukekelly1934 nope
@TheAdamsalam
@TheAdamsalam Жыл бұрын
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).
@coredatallc5671
@coredatallc5671 Жыл бұрын
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.
@gonefishing2006
@gonefishing2006 Жыл бұрын
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.
@missulu
@missulu Жыл бұрын
Turn up your resolution level to 720p, it seems pretty clear with that.
@nigelpallatt
@nigelpallatt 2 жыл бұрын
PDO
@Tubentertain
@Tubentertain Жыл бұрын
How to enable http2 or http3 kzfaq.info/get/bejne/ZtyJnK-Jr6mylps.html
CSS Flexbox Tutorial - Learn the right way
35:41
FollowAndrew
Рет қаралды 4,5 М.
That's how money comes into our family
00:14
Mamasoboliha
Рет қаралды 11 МЛН
HAPPY BIRTHDAY @mozabrick 🎉 #cat #funny
00:36
SOFIADELMONSTRO
Рет қаралды 14 МЛН
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 150 МЛН
PHP Password Reset by Email
20:56
Dave Hollingworth
Рет қаралды 49 М.
Programming Is NOT Enough | Add these 7 skills…
13:19
Travis Media
Рет қаралды 414 М.
PostgreSQL vs MySQL
6:33
IBM Technology
Рет қаралды 312 М.
Signup and Login with PHP and MySQL
43:16
Dave Hollingworth
Рет қаралды 273 М.
Brutally honest advice for new .NET Web Developers
7:19
Ed Andersen
Рет қаралды 86 М.
Working Contact Form in PHP with Validation & Email Sending
22:55
FollowAndrew
Рет қаралды 183 М.
How Ai Is About To Transform The World’s Economy
19:19
Andrei Jikh
Рет қаралды 123 М.