PHP OOP - Complete Login, Register & Logout System w/ Authentication Check using Session in PHP OOP

Sdílet
Vložit
  • čas přidán 7. 09. 2024
  • In this video, I have taught how to make a complete login, register and logout system in php mysqli using OOP (object oriented programming).
    Things we have covered in this video step by step:
    1. Database Connection.
    2. Registration System with checking email exists & confirm password.
    3. Login System using SESSION with Authentication.
    4. Logout System
    5. Authentication Check
    Frontend Panel Setup:
    • PHP Blog Admin Panel 2...
    Want to configure Admin Panel with this Tutorial using OOP:
    • PHP OOP Tuts 5: How to...
    Follow us on Instagram: / funda_of_web_it
    Subscribe to my Hindi/Urdu Channel: / @fundaofwebithindi

Komentáře • 12

  • @stanislavschaefer3233
    @stanislavschaefer3233 Před 2 lety +2

    Could you please update this video and/or add to this video a validation class for the input fields? How users can store hashed passwords into the database, not being able to submit form with empty fields, restrict certain characters, and etc.

    • @joshdevofficial
      @joshdevofficial Před 2 lety

      its too easy, just go to the authentication_code.php where the register_btn is, find the isset function and look for the password and confirmpassword.
      mine is:
      &password = validateInput(&db->conn, md5(&_POST['password']));
      &cpassword = validateInput(&db->conn, md5(&_POST['cpassword']));
      then save, you will successfully created a md5 protected password

    • @joshdevofficial
      @joshdevofficial Před 2 lety

      also, add md5 function to the login:
      if(isset($_POST['btn_login']))
      {
      &email = validateInput(&db->conn,&_POST['email']);
      &password = validateInput(&db->conn, md5(&_POST['password']));

  • @khurshidalam335
    @khurshidalam335 Před rokem

    Sir please upload a video for login with social media like as login with Google and login with Facebook

  • @sunyu695
    @sunyu695 Před 2 lety

    thanks

  • @MAAZKHAN-xv1lc
    @MAAZKHAN-xv1lc Před 2 lety

    Bro how to do this isLoggedIn checkin custom PHP login and dashboard page without oop?

    • @fundacoder851
      @fundacoder851  Před 2 lety

      czcams.com/video/lP1IHVZ7rGM/video.html
      Hope this helps you.

  • @mohamadnassar1841
    @mohamadnassar1841 Před 2 lety +1

    Hello MR please if you can making a video about Angular JS with Laravel 8, thank you.

  • @alleefattah8045
    @alleefattah8045 Před 2 lety

    It is not in the description as you said 0:31

    • @fundacoder851
      @fundacoder851  Před 2 lety

      Here it is. czcams.com/video/6Ue-phopYT0/video.html
      Thank you and have updated in description also.

  • @getasewayanaw2788
    @getasewayanaw2788 Před rokem

    could you send me the source code please