Complete User Registration system using PHP and MySQL database

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024
  • PART 1 : Login System -- • How to Make Login Form...
    PART 3 : PHP Profile System Change Password
    • PHP Profile System C...
    PHP Complete Registration & Login System Using MySQLi - Complete Guide
    How To Make Login & #Registration Form In #PHP And #MySql, Create SignIn & #SignUp Page
    ❤️ SUBSCRIBE:
    www.youtube.co...
    💻 Source Code:
    github.com/cod...
    User Registration System Using PHP And MySQL Database | PHP MySQL Tutorial
    User Registration Form with PHP and MySQL Tutorial - Creating a Registration Form
    User Registration Form with PHP and MySQL Tutorial
    How to connect HTML Register Form to MySQL Database with PHP (2020)

Комментарии • 231

  • @ashraf1252
    @ashraf1252 3 года назад +5

    XSS vuln in login form , since your are using a $_GET[] to retrieve the error the message,attacker can use error param in the URL to write a script, change it to a session and echo the session for anyone who is using this for a project . other than that Thank you for the video! saved my life :)

  • @matrenamelgalis6903
    @matrenamelgalis6903 3 года назад +16

    Thank you so much! I've been searching for a login and registration form everywhere. This really helped me for my project!! Works really well!! One suggestion I would like to give you is to do a voiceover on your videos or just put a consistent background music throughout the video.

  • @shakirakyriequiatzon8316
    @shakirakyriequiatzon8316 3 года назад +8

    I don't skip ads because I think that's all I can do to help you.... Nice job

  • @cayenneezragagno5287
    @cayenneezragagno5287 2 года назад +1

    Thank you so much for this video. Now I can start with my laboratory assignment.

  • @musubirebashir5276
    @musubirebashir5276 2 года назад

    Surely this explains why you different, am gona recomment your channel to my classmate Fatumah, forever grateful

  • @katrinagonzales1575
    @katrinagonzales1575 3 года назад +5

    Thank you so much you are a life saver i've been struggling in this part for 1 month! Thank you

  • @mbintangsamudra7752
    @mbintangsamudra7752 3 года назад +1

    terimakasih bang elias, berkat vidio ini saya bisa mengerjakan capstone project

  • @ridzuanadnan1129
    @ridzuanadnan1129 3 года назад +3

    Hi Elias....I just want to say thank you so much for all your effort by creating this kind of tutorials...THANKSSS ELIASS!!!!!!!!

    • @chris1ep
      @chris1ep Год назад +1

      Please kindly try and send me a link for healing 🙏 steam registration for November healing
      Many thanks

  • @goldenanonymous4633
    @goldenanonymous4633 Год назад +1

    You are the only one legit on RUclips keep your work brother ❤

  • @ruvitkon
    @ruvitkon 2 года назад +2

    Thank you very much :), This really helped me on my final project.

  • @woutflorian
    @woutflorian 9 месяцев назад +1

    Very helpful tutorial, thank you so much! 🙏

  • @awaistahir2540
    @awaistahir2540 Год назад

    thanku thanku soooooo much for this video.....bcz i seen 100+videos of login but there source file have lots of error but in your source file here is no error and your way of explaning just superb, thanks one again......

  • @knowtechwithaman7254
    @knowtechwithaman7254 3 года назад +1

    Thanks to the video I was frustrated to find the right video as I was puzzled with the error ,and for the beginners and I find this one then which made my day!

    • @CodingwithElias
      @CodingwithElias  3 года назад

      Glad it helped!

    • @davidneequaye8520
      @davidneequaye8520 2 года назад

      @@CodingwithElias when I click the sign in button it says Fatal error: Uncaught mysqli_sql_exception: Access denied for user 'root'@'localhost' (using password: NO) in C:\xampp\htdocs\Login-registration-System-PHP-and-MYSQL\db_conn.php:9 Stack trace: #0 C:\xampp\htdocs\Login-registration-System-PHP-and-MYSQL\db_conn.php(9): mysqli_connect('localhost', 'root', '', 'test_db') #1 C:\xampp\htdocs\Login-registration-System-PHP-and-MYSQL\login.php(3): include('C:\\xampp\\htdocs...') #2 {main} thrown in C:\xampp\htdocs\Login-registration-System-PHP-and-MYSQL\db_conn.php on line 9

  • @FinloePlaysMinecraft
    @FinloePlaysMinecraft 3 года назад +7

    Awesome video. Saved my ass on my semester project. Thanks a ton!

  • @yeabsraseyoum6644
    @yeabsraseyoum6644 3 года назад +2

    u are a
    lifesaver.. thankyou so much you’re amazing! and i subscribed you

  • @sundasanmol9893
    @sundasanmol9893 2 года назад +1

    Such a amaxing work. Bro. Keep it up. I learnet a lot from your video

  • @gsk2634
    @gsk2634 2 года назад +2

    Hey... Sir ❤ ur always ultimate really so much thanks

  • @mpotane
    @mpotane 3 года назад +1

    bro I will share this to my classmates this is amazing .. Thanks a lot

  • @mariostsokkos3293
    @mariostsokkos3293 3 года назад +1

    best video for html css php mysql!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @DanielOliveira-kp3ye
    @DanielOliveira-kp3ye 2 года назад +4

    Love the tutorial and the code is simple and easy to understand , thx!

  • @arifhussain5276
    @arifhussain5276 4 года назад +4

    Thanks for this video

  • @MsBoolo
    @MsBoolo 3 года назад +1

    Thank you so much for this tutorial. awesome.

  • @tikifreddy6526
    @tikifreddy6526 3 года назад +1

    Thank you Elias! It means so much for me.

  • @ejhayballer5570
    @ejhayballer5570 3 года назад +1

    Thankyou so much. Very helpful 👍

  • @relaxationmusics2684
    @relaxationmusics2684 3 года назад +1

    This video helps me alot thank u bro🙏

  • @josemarcorivera2752
    @josemarcorivera2752 3 года назад +1

    Thanks for your sharing your code it really help me!

  • @jeanssmith5864
    @jeanssmith5864 4 года назад +2

    You did well good job 👍 keep going

  • @snehachavhan1376
    @snehachavhan1376 Год назад

    Thank you so much for this project I'm very thankful to you🙏

  • @nimeshajayawickrama3730
    @nimeshajayawickrama3730 3 года назад +1

    You are the best, thanks man

  • @aqshadimeru3544
    @aqshadimeru3544 3 года назад +1

    Thank you for your tutorial, it's really helping me for my homework. I will subscribe you, Elias.

  • @keshaverriah
    @keshaverriah 3 года назад +1

    could you do one like this that also has a forgot password please

  • @gilahvalmoria7485
    @gilahvalmoria7485 Год назад +1

    completly functional

  • @SnowyAtiq
    @SnowyAtiq 3 года назад +1

    I'm facing problem.
    I can't create users account. Even I can't sign in with the username and password you've provided in the github.

  • @jolinabermudez7518
    @jolinabermudez7518 Год назад +1

    THANK YOU SO MUCHHH 😭😭😭💗

  • @mrsakurai4411
    @mrsakurai4411 3 года назад +1

    This is beyond amazing, cheers!

  • @izzatikhazizi5743
    @izzatikhazizi5743 3 года назад +2

    Hi sir. Thank you for this awesome tutorial. I ve follow step by step to do the register form. But when I try login using the same username like the First Video (Login Video), why it cant login?

    • @CodingwithElias
      @CodingwithElias  3 года назад

      I've Just add MD5 encryption in this video.so
      checkout the source code under the description.

  • @jadigger8695
    @jadigger8695 3 года назад +1

    brother literally saved my life

  • @lidyamahirah1350
    @lidyamahirah1350 3 года назад +1

    Thank you soo much ! I really appreciate it

  • @adhityagunawan666
    @adhityagunawan666 3 года назад +1

    thank you elias, mean so much for me .

  • @marnelarculan5506
    @marnelarculan5506 3 года назад

    I download your code sir i am going to use into my final project, the equivalent sir is i subscribed into your channel great video

  • @mohamedfakroun6485
    @mohamedfakroun6485 3 года назад +1

    Literally you are the best

  • @tgfcmobile
    @tgfcmobile 2 года назад +1

    Thanks man its really helpful .

  • @chriselleflores5329
    @chriselleflores5329 3 года назад +1

    This is legit and workingg, Thank youu 🤧🤧🤧

  • @selmentxxx
    @selmentxxx 2 года назад

    tnx bro you helped me alot.....respect

  • @rexisetiawan4240
    @rexisetiawan4240 3 года назад +1

    this is perfecto. you need more subscribers.

  • @vickyfitrio5693
    @vickyfitrio5693 3 года назад

    thank you bro, I'm on a test interview you saved me

  • @sitaramrathi7483
    @sitaramrathi7483 2 года назад

    Create all relatives table then linking table or relation relate column join and fetch
    ऐसी टेबल का युट्युब विडियो दिखाये

  • @mindtrickss
    @mindtrickss 3 года назад +2

    Hey Elias, thank you for an awesome video! One question (and a pretty stupid one): My browser cant connect to the localhost/Login-registration--PHP-and-MYSQL-master :( What should I do? And if there's anyone else who knows what to do, really appreciate the help! Cheers!

    • @athiashah2024
      @athiashah2024 3 года назад

      i dont know if this help, but try to check your xampp is the apache and mysql is running and also try to change the folder name to an easy one

  • @davidnkana5314
    @davidnkana5314 2 года назад +1

    Bro please help me, whenever I host this to a web server it says unknown error occurred... Try again over and over only for the sign up system but login is working well, and it's not only this project but every project I host does this what do I do please help

    • @CodingwithElias
      @CodingwithElias  2 года назад

      Check your web server configuration.
      I think this error occurred because of your server configuration.

  • @emptylyrics5014
    @emptylyrics5014 4 года назад +1

    Thank you so much! ❤️❤️❤️

  • @preethamfernandes597
    @preethamfernandes597 3 года назад +1

    I have a humble request please make a video with node.js instead of PHP... Please 🥺🥺

  • @locol-bros
    @locol-bros 3 года назад +1

    Thanks so much!! I won't forget about you!1

  • @moehammadrizky8722
    @moehammadrizky8722 2 года назад

    * 1:37
    music: "adios"

  • @abubakaryahaya5712
    @abubakaryahaya5712 6 месяцев назад +1

    Thank you ❤

  • @ronaldroll8134
    @ronaldroll8134 Год назад

    hey elias why function validate isn't working in me? and says "Parse error: syntax error, unexpected identifier "validate", expecting ". Thanks

  • @philiposunlola6296
    @philiposunlola6296 Год назад

    it is showing so many "incorrect syntax near..." errors. like up too 22 error for just the test_db.sql file. pls can i know why and how to solve it?

  • @nurinsyirah7847
    @nurinsyirah7847 3 года назад

    Hi, thank you for your tutorial. it works! btw if I want to have a different role to register account and login, where should I add the coding?

    • @CodingwithElias
      @CodingwithElias  3 года назад +1

      Check out may new video it's all about that
      "Multi User Role Based Login System Using Bootstrap 5, PHP & MySQL"

  • @user-mg9ls1dd3l
    @user-mg9ls1dd3l 5 месяцев назад

    THANK YOU BHAI ❤

  • @nitinyadav825
    @nitinyadav825 3 года назад +1

    hi elias we have to make new file just like you in video signup.php?

    • @CodingwithElias
      @CodingwithElias  3 года назад

      yeah, it's good to follow along with the video

  • @javazantech
    @javazantech 2 года назад

    Thanks from 🇧🇷

  • @candy_front
    @candy_front 2 года назад +1

    thank you very much

  • @cadeaulucmann1949
    @cadeaulucmann1949 Год назад

    Hiiiii Hello i am currently working on a register page that send email notif after registration all worked fine but when i am trying to login it says invalid email or password like the data was not inserted but i verify the database all the data was inserted properly. Any advice on what the problem is? Please

    • @CodingwithElias
      @CodingwithElias  Год назад

      check out the source code under the description.

  • @randomizerX.21
    @randomizerX.21 11 месяцев назад +1

    Good job Brother👏

  • @geannaaferatseu4609
    @geannaaferatseu4609 2 года назад +1

    Hi, thanks for the video. I tried to download your codes and entered your mysql and they work like a charm, I can create and login to an account using your code. However, when I recreate everything with my system and database, it shows unknown error occurred. I saw that there are some others who have the same problem but they were told to check their database configuration. Can I know where in my database configuration is wrong? I did the exact same thing as the one you did too.

    • @CodingwithElias
      @CodingwithElias  2 года назад +1

      okay. send me your code and we'll figure it out. use eliasfsdev@gmail. com

    • @devinar4648
      @devinar4648 2 года назад

      thanks for the tutorial it works good , however i wanted to change the BG in the css file and other styles a bit but its not working.

  • @senthilnathan4596
    @senthilnathan4596 2 года назад

    How to add drop-down list with validation and how to redirect login page with the drop down input if drop down is selected that person entered the nextpage how to do ???

  • @jonathanatsiegbi769
    @jonathanatsiegbi769 3 года назад +1

    you are the best

  • @rilwanreally8089
    @rilwanreally8089 Год назад

    I'm getting problem after finishing all the required steps.
    If I try creating new user account, it will create successfully but it is not appearing in my table of users.

    • @CodingwithElias
      @CodingwithElias  Год назад

      check out the source code under the description.

    • @rilwanreally8089
      @rilwanreally8089 Год назад

      @@CodingwithElias the error seems to be "duplicate entry '0' for key PRIMARY.

  • @Eklenam_Abbah
    @Eklenam_Abbah Год назад

    Please how can i view the actual password that has been typed and not those plenty numbers and alphabets?

  • @mikindileroi1093
    @mikindileroi1093 2 года назад +1

    Thank you sir

  • @sheezanawaz476
    @sheezanawaz476 2 года назад

    How can I update the pending status into approve or reject in admin side.

  • @junellemiranda697
    @junellemiranda697 3 года назад +2

    Hey elias :) everytime I create a new account and I try to log in it always states that "unknown error occured". How do I fix this? Thankyou so much in advance :)

  • @senthilmuruganr234
    @senthilmuruganr234 3 года назад +1

    Excellent

  • @rexdonadillo9018
    @rexdonadillo9018 2 года назад

    23:30 can't create user in database. how to fix this?? asap

  • @aichealthsolutions231
    @aichealthsolutions231 3 года назад +1

    I couldn't connect my sign up form through your source code to mysql database .....please help

    • @CodingwithElias
      @CodingwithElias  3 года назад

      check your database username and password

    • @aichealthsolutions231
      @aichealthsolutions231 3 года назад

      @@CodingwithElias I did and I was able to login successfully, thanks a million, but the issue i am having now is it isn't redirecting me to the dashboard i created. Please help me

    • @CodingwithElias
      @CodingwithElias  3 года назад

      @@aichealthsolutions231
      login.php line 38
      change the file name 'home.php'
      into link 'dashboard.php' or whatever your file name is.
      header("Location: home.php");

    • @aichealthsolutions231
      @aichealthsolutions231 3 года назад

      @@CodingwithElias Thanks a bunch again, may i please ask.... what php lines in that home.php file of yours can i insert into my custom dashboard.php which is my members area after they must have logged in successfully or should i just change it to dashboard.php and they will be redirected to the page?

    • @CodingwithElias
      @CodingwithElias  3 года назад

      @@aichealthsolutions231 38

  • @ryanrishat4214
    @ryanrishat4214 Год назад

    how did u get test_db as sql file? I'm using vs code, not sublime text so it's hard to follow

  • @Hassan313Afg
    @Hassan313Afg 2 года назад

    You're a legend sir

  • @MrGigi-dz9cv
    @MrGigi-dz9cv 3 года назад +1

    Hello. Some explanation, instead of music, would be Nice.

    • @CodingwithElias
      @CodingwithElias  3 года назад +1

      Okay, thanks for your suggestion.

    • @MrGigi-dz9cv
      @MrGigi-dz9cv 3 года назад +1

      @@CodingwithElias I most times listen to these tutorials, while i do other things.

  • @samuellawson9466
    @samuellawson9466 2 года назад

    Good day sir. Great work right here. But i have a problem with the code when trying to implement it for my table, it keeps showing "an error occured" as the sign up response. A reply would help helpful

  • @mayur_h_rathod
    @mayur_h_rathod 3 года назад +1

    Thank you bro

  • @salmalatrach3336
    @salmalatrach3336 3 года назад +1

    THANK YOUUUUUUUUUUUUU

  • @vigneshwaranj8950
    @vigneshwaranj8950 3 года назад +1

    One confirmation plz sir. This is php or laravel8 sir?

  • @RamJamDee
    @RamJamDee 3 года назад +1

    Well. I did the database stuff, copiesd the code from github. But it still won't work lol

  • @qriminal-iv3kn
    @qriminal-iv3kn 3 года назад +1

    Hey Elias, i hope you know, that md5 encryption is outdated and crackable?

  • @RayanAlhomdi
    @RayanAlhomdi 2 года назад

    Brother can you make addition on this project like Two factor authentication !

  •  3 года назад +1

    very good

  • @joemarbetito1328
    @joemarbetito1328 3 года назад

    Hello Do you have a edit information or update information? thanks

  • @eduardolohan8256
    @eduardolohan8256 Год назад

    To com um erro e não to conseguindo resolver ;
    #1062 - Entrada '0' duplicada para a chave

  • @supfeed1241
    @supfeed1241 2 года назад

    1.36 your music just stopped there. xD just saying

  • @whusen.solover5741
    @whusen.solover5741 3 года назад +1

    Thanks man 😍

  • @eRRor-_-ZeUs
    @eRRor-_-ZeUs 3 года назад +1

    hey sir i want to see my users password how can i do that please help :(

  • @user-ou4ys5xp5x
    @user-ou4ys5xp5x 3 года назад

    The Xampp file where you extract the zipped file was that your website file inventory?

    • @CodingwithElias
      @CodingwithElias  3 года назад

      check out part one of this video link under the description

  • @lyh01
    @lyh01 3 года назад +1

    may I know what is the function of the line:
    $user_data = 'uname='. $uname. '&name='. $name;
    Thank you.

    • @CodingwithElias
      @CodingwithElias  3 года назад

      it gives us the user data in a URL format

    • @lyh01
      @lyh01 3 года назад

      @@CodingwithElias Hello, may I know how to solve if it shows "unknown error occurred"?

    • @CodingwithElias
      @CodingwithElias  3 года назад

      @@lyh01 check your database

    • @suzankangurstudent7804
      @suzankangurstudent7804 3 года назад +1

      @@lyh01 Hi, I get the same error, could you solve it?

  • @sophoclesgabrielides
    @sophoclesgabrielides 3 года назад +1

    i am with vscode
    value= ""
    because the file is recognized as php the value doest take it as a string because of php .. if i turn auto- detection to html it makes it right but doesn't recognize

    • @sophoclesgabrielides
      @sophoclesgabrielides 3 года назад

      i had an issue with the insert .. it woundn't work but i took the code from the preview sql of the table users in xampp and it worked

    • @CodingwithElias
      @CodingwithElias  3 года назад +1

      I don't use VSCode for PHP. I use it for Js, react, node .... Thanks.

  • @user-11620
    @user-11620 3 года назад +1

    Thnkz ❤️‍🔥

  • @nitinyadav825
    @nitinyadav825 3 года назад

    unknown error show i provide same user name that you provide in your code

  • @billychristiandalumpines1972
    @billychristiandalumpines1972 3 года назад +1

    Why is $user_data not working for me?

    • @CodingwithElias
      @CodingwithElias  3 года назад

      checkout the source code it's under the description

  • @mfs6165
    @mfs6165 3 года назад +1

    Abi ben php sitemi neden php sitemi yayınlıya bilirim

  • @MeshaMesho
    @MeshaMesho 4 месяца назад

    بارك الله فيك 🤗

  • @chhunbou9747
    @chhunbou9747 Год назад

    Good

  • @cliffearl7483
    @cliffearl7483 2 года назад

    The user is not connected to any email address, there is no valid email address verification, no brute-force password hack protection, not even a basic CAPTCHA mechanic. For what it is, it's fine, but you probably shouldn't label it as a complete solution.

    • @CodingwithElias
      @CodingwithElias  2 года назад

      yeah, you're right brother. but I'm trying to make it simple. just for learning purpose