Тёмный

How to Make Login Form in PHP and MySQL 

OnlineITtuts Tutorials
Подписаться 27 тыс.
Просмотров 1,4 млн
50% 1

Download Source Code
www.onlineittuts.com/how-to-cr...
Today We Will Learn How to Make Login Form in PHP and MySQL. In this tutorial, you will learn how to make the connection and then we will learn how to match record text boxes with database columns values.
OnlineITtuts Tutorials cover many topics such as Web Designing, Web Development, Programming, Database, WordPress, Blogging, Google AdSense, Digital Marketing and TipsNTicks. I was made many videos for different categories, and I will share another helpful tutorial for different topics.
Follow Us on Facebook
onlineittuts.com
Follow Us on Twitter
onlineittuts.com
Follow Us on Pinterest
www.pinterest.com/onlineittuts.com
You Can Watch More Videos
HTML5 Tutorial For Beginners
goo.gl/yotvtD
Install WordPress on Localhost
goo.gl/EX6jD5
Create a Google Form and Embed On Your Website
goo.gl/jtEPAi
How to Embed Google Map on Your Blog
goo.gl/bQfqYa
How to Verify a Website in Google Webmaster Tools
goo.gl/WhAPnK

Опубликовано:

 

4 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 643   
@urfriendlyprogrammer3301
@urfriendlyprogrammer3301 5 лет назад
I hear Indian voice in programming tutorials I feel saved.
@josuevalar6465
@josuevalar6465 4 года назад
Actually you're not, that code is actually not secured against attacks from "hackers"
@urfriendlyprogrammer3301
@urfriendlyprogrammer3301 4 года назад
@@josuevalar6465 I did not say "safe" I said "saved". I mean, I finally found something to learn for my own project.
@opensourcereproduction8433
@opensourcereproduction8433 4 года назад
@@josuevalar6465 can you tell me what vulnerability this form has ??
@xdmusic3611
@xdmusic3611 4 года назад
@opensource Reproduction the vulnerabillity is "sql injextion"
@josuevalar6465
@josuevalar6465 4 года назад
@@xdmusic3611 indeed
@jatindranath7514
@jatindranath7514 3 года назад
thank you so much... for last two days I had faced a little bit problem...after show your video... I have overcome it...
@kingtop171
@kingtop171 6 лет назад
GOD BLESS YOU... You really assisted Me!
@annebernadetterama6428
@annebernadetterama6428 2 года назад
Thank you for this tutorial. It helps a lot
@harrazmasri2805
@harrazmasri2805 4 года назад
thank you my man :) , that works even tho I alter it and also you need to improvise in explaining functions with visual because i dont know what those functions are for
@noname-zd6wu
@noname-zd6wu 2 года назад
Just starting this video. Would be helpful if you can provide the link to your previous tutorial in the description space.
@marathiagrotechOfficial
@marathiagrotechOfficial 2 года назад
Thank you sir 🙏 very nice explain the SQL 👌👍🏻🙏❤️ from pune
@Eudes2023
@Eudes2023 5 лет назад
NOW, I GOT IT ! THANKS FROM BRAZIL.
@himehime5050
@himehime5050 3 года назад
I have to thank this guy. Been learning basics and stuff this Covid times November 2020.
@CCDrone
@CCDrone 3 года назад
me too :) Good luck with everything :)
@kerjasampinganku
@kerjasampinganku 3 года назад
​@@CCDrone Try this interesting stuff too guys Login Form with Google Apps Script - Part 3: Connect to Database (Google Sheets) ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Z-CXByygdxw.html
@arjunxpro
@arjunxpro 5 лет назад
Thank You so much sir...Really great sir...genuine code works with out any flaws...best explanation for PHP sqlDB i ever seen
@manishmahour3096
@manishmahour3096 4 года назад
Very Informative Video, Thanks for sharing
@shafigaming6121
@shafigaming6121 Год назад
Waah its working , great work man
@yusufsunset4619
@yusufsunset4619 5 лет назад
Thank You So much This Lesson Is Very Useful 👍
@hassnainmh2048
@hassnainmh2048 6 лет назад
Very very useful it made my day.
@cypherorpheous8680
@cypherorpheous8680 2 года назад
Thanks Bro...Very Helpful
@NAJATECNEWS
@NAJATECNEWS 5 лет назад
thank you so much
@Loyz15
@Loyz15 6 лет назад
BRO U ARE AWESOME!
@zamirmushtaq9244
@zamirmushtaq9244 2 года назад
Very useful. Thanks
@lv0192
@lv0192 3 года назад
Thank for tutorial!
@Jasmadiyunus88
@Jasmadiyunus88 5 лет назад
Thanks For sharing Sir
@violentgamer5910
@violentgamer5910 6 лет назад
your website is nice and your video is also nice
@technicalbrothertech
@technicalbrothertech 5 лет назад
Whole solution of form data in just 2 minute ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-sxlmReSlaoc.html
@zareenremendies
@zareenremendies 3 года назад
👌👌👌👌Good content sir
@MICROREPAIR
@MICROREPAIR 3 года назад
i installed extension emmet to get colours on my text, how can i get the text with different colours
@sozainkhan2200
@sozainkhan2200 6 лет назад
thank you sooo very much
@shanti5366
@shanti5366 4 года назад
wow good thanx for yr help
@snrchannel3048
@snrchannel3048 3 года назад
Really u r great sir🙏🙏 plzz upload more projects, it useful for everyone
@jitendraasole5827
@jitendraasole5827 6 лет назад
Thank you so much bhaiyya
@JustinTheVlogger
@JustinTheVlogger 4 года назад
Greetings, my code is in HTML file even though I saved it as a PHP, so what is the problem it seems that the database that I've created cannot be connected to my code?
@irontamil7104
@irontamil7104 2 года назад
while saving select all file types not only giving its name as.html will do so
@user-jp7es3nj8f
@user-jp7es3nj8f 6 лет назад
it works,thanks
@rootgr9241
@rootgr9241 5 лет назад
very good work
@mdfaisal7944
@mdfaisal7944 Год назад
Thank you so much 🤘😇
@charlesojok6298
@charlesojok6298 5 лет назад
good website and nice videos
@HanoMontano1
@HanoMontano1 3 года назад
great man
@vaishnavis9473
@vaishnavis9473 Год назад
Thank you helps a lot
@komalavasare8108
@komalavasare8108 Год назад
Thank You !!
@rechellevalladolid7431
@rechellevalladolid7431 3 года назад
u just save my final requirements this year
@nilutpaldeka2937
@nilutpaldeka2937 3 года назад
What was it
@pizsubhasish
@pizsubhasish 5 лет назад
Great it works, thanks
@b0x3
@b0x3 4 года назад
not great this is how to make bugs in ur codes .
@suriyapriya1783
@suriyapriya1783 6 лет назад
Tx ...super
@mahdikeshtani2633
@mahdikeshtani2633 2 года назад
i had this error: Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\login\php_login.php:8 Stack trace: #0 {main} thrown in C:\xampp\htdocs\login\php_login.php on line 8 someone answer to my problem: This is happening because mysql_connect() extension was deprecated in PHP 5.5.0, and it was removed in PHP 7.0.0. Most probably you are using the latest version of PHP. The solution for this you can use mysqli extension instead. The better option is PDO.
@biltinsa
@biltinsa 2 года назад
great work
@callme0800god
@callme0800god 6 лет назад
I copied and pasted the source code, Im using the PHP 5.6 like you recommended and my warnings are gone. When I type something in the input field it doesnt return anything, no messages about the result. No errors on the console as well. What should I do next?
@truecodemedia5099
@truecodemedia5099 6 лет назад
Please explain some more details what problem are you having. Thanks
@JoshHookerJoshhook123
@JoshHookerJoshhook123 5 лет назад
update your php version
@dimebago
@dimebago 5 лет назад
Because the php sentencies are Obsolete
@rsantos4174
@rsantos4174 4 года назад
Thank you so much, I was looking for the answer for a problem that I had and you give me exactly that.
@VikramKumar-rj4ed
@VikramKumar-rj4ed 5 лет назад
Thanks bro because this video was helpfull for us , so again i want to say thanks
@pranitharegati3765
@pranitharegati3765 4 года назад
Useful video
@khanbaba6169
@khanbaba6169 5 лет назад
Masha Allah Asif Bhai nice video
@s.a.v1513
@s.a.v1513 6 лет назад
Good bro
@sujanhossainniloy9523
@sujanhossainniloy9523 5 лет назад
thanks sir
@techwithgarry2491
@techwithgarry2491 7 лет назад
great video it really help me...keep it up
@techwithgarry2491
@techwithgarry2491 7 лет назад
Vakog ohk
@techwithgarry2491
@techwithgarry2491 7 лет назад
Vakog thnx you..
@KhairulIslam-xf5bu
@KhairulIslam-xf5bu 3 года назад
thank you so much
@nizamuddinkhan8958
@nizamuddinkhan8958 6 лет назад
Nice asif sir
@cabdixakinyahye3800
@cabdixakinyahye3800 3 года назад
Thanks bro
@basanthassan1824
@basanthassan1824 4 года назад
amazing
@tarunoraon1338
@tarunoraon1338 3 года назад
English achi h apki👍
@sarangparve7058
@sarangparve7058 Год назад
thanks bro
@TechVegan
@TechVegan 4 года назад
Nice
@tutormilenia9482
@tutormilenia9482 4 года назад
Thanks my program running successfully
@jessonotap9546
@jessonotap9546 3 года назад
please help me, I tried your code, and it says like this Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /storage/emulated/0/htdocs/MYPHP/login.php:8 Stack trace: #0 {main} thrown in /storage/emulated/0/htdocs/MYPHP/login.php on line 8
@mohhaji5747
@mohhaji5747 6 лет назад
thanks
@mathewsjoby6455
@mathewsjoby6455 3 года назад
Man Only Indians are posting Coding Tutorials. I am proud of my country
@icasemobileservicecenter3293
@icasemobileservicecenter3293 5 лет назад
hi sir , how to open another from in php ?
@techplusit
@techplusit 2 года назад
very nice
@jacobtodd275
@jacobtodd275 5 лет назад
empaty haha. but excellent video
@ruszjea
@ruszjea Год назад
Thanksss
@YTMAXTURBO
@YTMAXTURBO 2 года назад
congratulations, but I ask for this configuration file or login and index and css etcc all these files to log in where should they be installed? in phpadmin from menu import? and how do i connect url login file to my domain on the webpage sl login button? where do i find url of the login file? Thank you
@fictional_soldier6499
@fictional_soldier6499 5 лет назад
it shows Parse error: syntax error, unexpected '$pass' (T_VARIABLE) in C:\xampp\htdocs\project\admin.php on line 5
@santoshburman1181
@santoshburman1181 6 лет назад
that is very easy code .
@ryanbarrera2595
@ryanbarrera2595 5 лет назад
Very nice but it would be much more nice if you also include the css section.
@intanhafizah9564
@intanhafizah9564 5 лет назад
Hello sir. I have copy paste your php code and change it according to my db. After i input the email and password on login form why the page does not appear "You have successfully...." and "You have entered incorrect...."? I use notepad++
@wassimsimouu8075
@wassimsimouu8075 4 года назад
same thing for me :I
@user-rm4or1sl4k
@user-rm4or1sl4k 3 года назад
Hello! I had the same problem... You have to check the code file and the video at the same time, cause there are a few differences between the variables, or some things are missing...also i had to turn all the mysql to mysqli to work. Don't forget to change the example's variable names with yours! :)
@sidhocine1298
@sidhocine1298 3 года назад
شكرااا
@abeerafazal6700
@abeerafazal6700 Год назад
So sweet
@payalagrawal274
@payalagrawal274 5 лет назад
what about font-awesome.min.css this page.
@kaiyin204
@kaiyin204 5 лет назад
it's the fonts, you can get fonts from google fonts
@alipersian846
@alipersian846 3 года назад
Parse error: syntax error, unexpected '$user' (T_VARIABLE) in C:\xampp\htdocs\login.php on line 3
@ziauddin5763
@ziauddin5763 5 лет назад
your database name is demo not loginform . your table name is loginform .
@AmanJainVlogsss
@AmanJainVlogsss 6 лет назад
use this code this is 100% correct
@joshuavalencia1819
@joshuavalencia1819 4 года назад
hello sir i just want to ask if you have a tutorial similar to this one but there's a little bit different like , multi log in with different role's for example admin , and user . if the admin enter his account he will redirect to admin page and when user enter his account he will redirect to different page intended for user only . i mean , so that the user cant access the management which can only work for admin only . thank you .
@mutalemulenga8708
@mutalemulenga8708 4 года назад
I can teach you how to do this.
@SantoshKumar-do3ec
@SantoshKumar-do3ec 3 года назад
@@mutalemulenga8708 teach me please
@mutalemulenga8708
@mutalemulenga8708 3 года назад
@@SantoshKumar-do3ec I made a tutorial on my channel... ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-EOsgb_50rJM.html If you still need clarification, let me know.
@SantoshKumar-do3ec
@SantoshKumar-do3ec 3 года назад
@@mutalemulenga8708 I want to talk to you bro once......I want some help regarding my project
@mutalemulenga8708
@mutalemulenga8708 3 года назад
@@SantoshKumar-do3ec there is an email on my channel. Send me an Email. will be glad to look see if i can help.
@effortnwikegha9096
@effortnwikegha9096 4 года назад
Nice Job Thank you very much
@jscales4310
@jscales4310 6 лет назад
i copy all your source code posted on the link but i have an error in line 8. pls help me
@sunnysandhu8922
@sunnysandhu8922 5 лет назад
manu v a he problem a rahe ha ki kra
@Gwapilevencha
@Gwapilevencha 4 месяца назад
that is very good tutorial sir but for my side there is the problem on line 8 mysql_connect($host,$user,$password); that line having an problem to me when am already to fill the field in interface form
@tatatrisatyo3003
@tatatrisatyo3003 6 лет назад
thank u boss
@technicalbrothertech
@technicalbrothertech 5 лет назад
Whole solution of form data in just 2 minute ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-sxlmReSlaoc.html
@christianfornoles8663
@christianfornoles8663 4 года назад
Thank you for the source code
@Shaggy12321
@Shaggy12321 5 лет назад
How is this ran by clicking the button? i'm not sure i get it
@kangkangorboda5534
@kangkangorboda5534 4 года назад
first of all you need to show us how to save folder to see that viewer will understand thanks :)
@qxqg7501
@qxqg7501 5 лет назад
ZF Cynaide now makes guides?
@cristanigel8449
@cristanigel8449 6 лет назад
love it kiss
@samvaz4082
@samvaz4082 2 года назад
Can someone help me, I have this error: Uncaught Error: Call to undefined function mysql_connect(), Stack trace: #0 {main} thrown in line 8......... line 8: mysql_connect($host,$user,$password);
@abdullahtravellersoflife368
@abdullahtravellersoflife368 5 лет назад
I guess you are using brackets to compile the codes but your's bracket is highlighting the codes where mine is not doing the same. Also, I have copied and pasted your code including CSS but there is a message saying error in line 8.
@bbrown-espoir7002
@bbrown-espoir7002 3 года назад
Have same problem
@karishmabhoir6715
@karishmabhoir6715 5 лет назад
i copy all your source code posted on the link but i have an error icon is not display. solution plz.
@vinaybhargav3373
@vinaybhargav3373 5 лет назад
Leaving an error for that line where we write the main query
@rushs3087
@rushs3087 6 лет назад
Svp comment relier un code html avec un code php et exécuter le code php avec html exemple: formulaire de contact
@nomanali9836
@nomanali9836 4 года назад
(Fatal error: Uncaught Error: Call to undefined function mysql_connect() in F: aman\htdocs\php\login.php:6 Stack trace: #0 {main} thrown in F: aman\htdocs\php\login.php on line 6) what to do?
@38_khushboopatel52
@38_khushboopatel52 4 года назад
Solution mila?????
@samina7800
@samina7800 4 года назад
you have to paste the entire code some where so we can help you post it here if you wish.
@flower9067
@flower9067 3 года назад
Yaa same here
@richmondmingi8424
@richmondmingi8424 5 лет назад
what editor are you using
@haymanotsolomon132
@haymanotsolomon132 5 лет назад
how can i use icons the key and person icons in the form? it can not work
@rkbanger136
@rkbanger136 2 года назад
Hi sir actually when do that i got error like cannot start session when headers already sent by ... So please as soon as you
@snakekq
@snakekq 2 года назад
thx
@amiaryoucef8639
@amiaryoucef8639 5 лет назад
tenks
@stephennesheanerandallalba8930
1st scenario. Lets say I will type a account (random account) will it wave in the database and I can see the account's user name and password in MySql server???? :) thanks
@yourcommenterliker8780
@yourcommenterliker8780 4 года назад
means your localhost server is unsecure as in no username or password is set. re install your local server that should help
@sebah216
@sebah216 5 лет назад
vulnerable sql injection but nice video
@palemohamedsiemohamed4828
@palemohamedsiemohamed4828 Год назад
Merci beaucoup mettre
@sivajyothinarala7825
@sivajyothinarala7825 2 года назад
Sir please tell me .what type of app used in this editing
@waseemalsoufi
@waseemalsoufi 6 лет назад
how can i make it go another web page | PHP page after login , like i enter the username & password and it's show "login successful..."and then it take me to the main page of something?
@OnlineITtuts
@OnlineITtuts 6 лет назад
Dear, You need to redirect to another, just create a page, after match users name and password, you are able to redirect with the new page or another as you like.
@shankarsharma4943
@shankarsharma4943 6 лет назад
You can use this code after the condition where it success the login, header('location:page1.php');
Далее
School Management System in PHP
6:59
Просмотров 46 тыс.
How to make Login Form using PHP MySQL | Xampp
36:28
Просмотров 245 тыс.
Login Form in HTML & CSS
11:07
Просмотров 1,4 млн
How to Make Login Form in PHP and MySQL
24:05
Просмотров 1 млн
Save HTML Form Data to a MySQL Database using PHP
24:38