Login and Registration Form in PHP and MySQL
ฝัง
- เผยแพร่เมื่อ 5 ก.ย. 2024
- #php #mysql #database #xampp
In this tutorial I have shown how to make a complete login registration system using PHP and MySQL. I have explained step by step by following very simple procedure. Also I used all the validation and verification for the forms.
From this tutorial you will be able to learn.
1. How to connect the form with database using XAMPP server.
2. Create the registration and login forms using Bootstrap framework.
3. Create the whole user registration system using PHP and MySQL.
4. How to validate and verify the form data.
5. How to design form using Bootstrap Framework
Here is the GitHub link of the project files :
github.com/iro...
Perhaps this will catch your attention:
Step-by-Step Tutorial on Constructing a Simple CMS with PHP and MySQL
• 🚀 How to Build a Basic...
If you want to know how to upload images to database please watch this tutorial:
• How to Upload Images i...
Enjoyed this video? Don't forget to hit that 'Subscribe' button and turn on the notification bell 🔔 so you never miss an update from us. Your support means the world to us, and it helps us create more content you love. Thank you for being a part of our community!
Website
auztuts.com/
You can join this Facebook group to discuss problems and ask your questions.
/ 930382041470136
You can also follow me on Facebook , Twitter and LinkedIn
Facebook:
/ auz.tutorials
Twitter:
/ aktar_uz_zaman_
LinkedIn:
/ md-aktaruzzaman-a16205134
Please use type password for the "Repeat Password" field. Somehow I forgot to mention it 🙂
@@user-zz7rw9qv9v Sure, my contact info is in the description.
Why does the password in the database not appear the same as the one I entered when entering the timer, it appears encrypted
Yes , you can communicate with me. The contact information is in the description.
Where?
@@user-zz7rw9qv9vHe told the reason for it in the video itself.
If some hacker gets access to database then he can access all the readable password and email, which he can use for ill practices.
So to avoid that encrypted password is stored so even if hacker gets the encrypted password he won't be able to login with that.
Remember
For 12345 - hash1 is generated
If hacker uses hash1 in the form as password a different hash2 will be generated
This is the best tutorial on youtube if someone wants to understand the Login and Registration Form in PHP and MySQL
Thank you!
I have been doing follow this video it is not working
This could have been done in Object Oriented Programming (OOP).
I’ve watched so many tutorials, but this one is by far the best. Thank you for sharing your knowledge.
You are welcome! It means a lot.
a true guider deserve more veiws and subscriber May Allah give you more success in every field of life
Thank you for the wish!
This tutorial legit is a life saver would recommend and keep up the work man 👍
Thank you!
This video is pure gold. Explained everything clearly from start to finish. THANK YOU!!!
You are welcome! I am happy that it helped you.
Thank you so much sir i completed my project because of you
You are welcome
you can not imagine how grateful i am that you made this tutorial, you helped me so much on how to properly write php, thank you so much for this! you deserve so way more followers than you already have ♥
Thank you! It means a lot to me.
i followed you because of this video, this is the best understandable video in internet
you have save me from long time error
thank u
Thank you! I am glad that , my tutorial helped you.
@@auztuts please can wamp and xamp work with the same data update, cos i hv tried so many times to implement the same code using wamp server buh not working
Please how can I solve it, am in stock😩!!
Hi@@AmyEnthub, what issue you are facing? It should work on WAMP server too. Can you give me the specific error please? Does the localhost url works fine? Did you start the server before testing?
@@auztuts the server is on, I checked it several times,
To connect to the database, when I was done with the connection, I did print the post method so it can give me the array but it isn't working, including the connection 🤦🤦
thank you so much you save my final project exam
You are welcome!
I'm so happy you are here for us to guide php Jazak Allah Kher Allah bless you
Thank you Man! May Allah bless you as well.
Thanks, this was extremely helpful to get started in my project
Welcome Dipesh. Keep in touch.
One of the best tutorial for registration form. Thankyou so much sir for this tutorial.
You are welcome!
Thank you very much for your turorial!!!! Actually I have never commented under someone’s video, but you literally rescued me. I had been struggling how to make authorization in my project and there wasn’t any working and easy tutorials, but your tutorial is the best it helped me so much 😌
Hi, thank you for your comment. I am happy that my tutorial helped you 🙂
Thank you for this source code, it helps to my Project this College days.
You are welcome!
THIS IS VERY INFORMATIVE VIDEO THANK YOU SO MUCH SIR FOR UPLOADING THIS
Thanks lot!
🥰welcome🥰@@auztuts
I got this video when I needed it the most... Thank you so much for such explanation. 🙂 It was too good. Keep growing.
You are welcome 🙂
Thank you for this tuturial, exactly what I wanted.
Great to hear! You are welcome!
Explained all the details and examples step by step.
Thank you
You are welcome :)
this tutorial deserves a solid like
Thank you!
your explanation is so good that this seems so easy. thank you
You are welcome
Thank You for your tutorial I had been stuck on error validation but your tutorial made it clear for me. Cheers
Great to hear!
thank you very much very sir, good tutorial easy to understand and explained very well
You are welcome
slowly and easy to understand! love your work sir.
Glad to hear. Thanks
Amazing the work you have done , I have watched the video and used for my final year project. Thank you. Earned a subscription bro.
I am happy that , my tutorial helped you. Thank you for subscribing.
Github link of the code is added in the description. You will need to add the database to make it working correctly. Please watch the tutorial first to last to understand the procedure.
How do i add them correctly please explain
Thank you very much sir this will help a lot ❤
You are welcome.
I appreciate you and this video so much. Please can someone keep in touch for mentorship/guidance when necessary ? Please 🙏
If you need any help you can comment it here
Great tutorial and responsive person. Only success in the future, thank you🙂
Thank you!
I liked the video, it is good to follow good practices. It would be great if you could create a tutorial for friendly routes, following good practices. Or also an ORM tutorial, greetings.
Sure, hopefully I will do it. Thank you!
Great Tutorial! For those who still encounter password does not match take note of the length/value of password, its better to set it to 255 like what is indicated on this tutorial.
Thank you!
Awesome tutorial. Great teacher. Making mistakes so viewers can understand better. Will not learn enough if we don't see the mistakes.
By the way, how to do normal user and admin account? Thank you
Hi, this tutorial includes only admin part. Hopefully I will come up with another tutorial.
As many persons were facing an issue of password not matching so here is solution for them. In login.php don't use variable name $password use any other name like $pass then it will work properly
It works, thank you😎
Brooooo really thankful to you I was struggling about an half hour really bro thanks alot❤
I changed the $password in login.php to $pass but I still get password doesn't match
@@abhskarki3909 bro i can't tell the exact reason without seeing actual code but my many fellows get same error even though after changing password to pass
Can someone explain why is this happening, I had this problem and solved it by changing the name of the variable?
thank you so much! very well explained in detail tutorial! keep up the good work!
You are welcome :)
At least your doing a great job other tutorials are full of errors
Thank you! Its my pleasure
tq soo much sir this video use for me ..
You are welcome
thank you for your wonderful video, my fellow friend dijon also said that this video is very good, thank you once again
You are welcome. I am happy that it was helpful for you.
This is the best code...thanks sir 😊
Enjoy. You are welcome!
Nice video
Please Sir I don't know how to include phpmailer in the script.
Please help to include phpmailer please sir 🙏🙏
HI, I will try to make a video for that. Thank you!
Thank You so mutch sir...!
Liked.
Commented.
Subscribed.
You are welcome
Thank you!
If you have a search engine tutorial for local search into mysql , pls let me thanks so much - you are great.
Great suggestion! I will try
good detailed explanation Tnx broo🎖🏆
Thank you! Keep in touch.
Man you really saved my life
I am glad that it helped.
Can we please have an updated one which let's the user sign up or login using gmail/Microsoft
Awesome, do some django projects also😊
Thank you! Sure, I will.
thank you so much its work well
You are welcome
Thank you very much! I watched the whole video and you explained it very well as well.
You are most welcome 🙂
This is very helpful and beginner friendly👍🏿, however I keep getting a "FATAL ERROR" on line 7 of the database file
Hi, can you send me the error massage you see?
superb session bro...🙏🙏🙏🙏🙏🙏👍👍👍👍👍👍
Thank you! Keep in touch 🙂
Thanks bro, other videos were not working but yours are working!
Thank you!
Thanks a lot, very helpful and good.
Thank you!
This is an excellent tutorial. What I liked about it was the error trapping logic...pushing the errors into an array, and then accessing them is very efficient code logic. Do this in PDO and the db calls as stored procedures would be an excellent tutorial for the future. How may I contribute to your success with a donation?
Thank you very much for your such a kind reply. I will make a tutorial with PDO. I am not taking any donations for now. But please keep in touch and help me grow my channel.
you are amazing bro! thankyou alot!
You are welcome. Keep in touch.
Very helpful thank you
You're welcome!
Onek sundor detailed video
Thank you!
Best ever video sir❤️ good explaination thanks
Thank you!
Thank you sir
Welcome
really....outstanding
Thank you!
Thank you for your video. It really helped me a lot.
You are welcome
@@auztuts Do u also know how can i access dom element of a html file to another html file's input box ?
like i want my book's price shown in the purchase form when i am going to buy it..
Awesome explanation bro
Thank you!
its working, now thank you.
Great!
Thank you Aus, brilliant tutorial
Very welcome
Thank you for this very good and thorough tutorial!
You are welcome
thx very cool tutorial
You are welcome
nice tutorial
Thank you!
this is fantastic!!!! something i had been searching for.
Thank you! Keep in touch.
Thanks For That Tutorial 👍❤
You are welcome!
thnk u very useful
Welcome 😊
thank u soo muuuuuuch sir
You are welcome
@@auztutssir my codes error password doesnt match
superb man thanks
You are welcome
thank you so much
You are welcome
nice video bro but what you use in 34:20, is also vulnerable to SQL injection, it not retrieves the result in plain text but if you use correctly IF, SUBSTR and SLEEP statements you can be able to leak information from the database so it's a point to take into account.
how can I fix it bro?
Thanks a lot.
You are welcome
Wonderful session 🔥
Thanks lot
You are welcome
thank you brother
Welcome
you save my life, thankyou
You are welcome!
You should make another one using PHP OOP programming. If you don't know how to do that you can learn. You can modify this to be OOP.
Ok, I will try.
Thank you!
You're welcome!
Thank you bro✍👍👍👍
You are welcome
love u mate
Thank you!
Thank you very much !!!!
You are welcome
Thanks, i have supported you by not skip
Thank you so much for helping me
You are welcome 🙂
Golden 56 minutes ❤😊
Thank you!
You could have put Then you wouldn't need the if (empty($fullname) part.
Anybody can remove that required attribute using inspect tool of the browser so that is very vulnerable.
its working sir tq
thank you so much!!!
You are welcome
Thankyou
Nice Tutorial
Thank you!
Can't say anything more than thankyou...
You are welcome
Thanks for this tutorial, could you add email verification also?
Sure, In future hopefully
thanks bro, i learn a lot ❤❤
You are welcome
Youre amazing bro, thanks alot thats a very concise explaination. Keep up❤️
Thank you! Keep in touch
You are amazing sir!!
Thank you"
Great tutorial bro. Keep it up :)
Thank you! Stay in touch.
Best youtube video
Glad that it helped you.
Great video man! Thank you.
You are welcome!
Thank uuuuuuu🫡🫡🫡🫡
You are welcome
thank you bro u saved me !!
You are welcome 🙂
very helpful ❤
Thank you!
Sir can we get video on html form data base that when we fill it will show in html website table only!!
th-cam.com/video/Ydogcs6ImLw/w-d-xo.html
This is my other tutorial that explains how to insert data and then shows data in html table. It also explains how to edit and delete data.