CREATE A SECURE LOGIN SYSTEM IN PHP - PART 1

CREATE A SECURE LOGIN SYSTEM IN PHP - PART 1

CREATE A SECURE LOGIN SYSTEM IN PHP - PART 1

16
Share:

16 Comments

  1. This is what I have been looking for! a Full Tutorial! Thankyou!

    Your the Best...

    and also YOUTUBE sent me here :)

    avatar
    Drelix76
  2. Hello! thanks for your tutorial it is really useful.

    i have just one question. what encryption have you used for the password because i have trying to encrypt my own password in MD5 and SHA1 but nothing seems to work except your admin password

    thanks in advance

    Enzo

    avatar
    enzo
    1. Hi Enzo, if you look above you will see the information needed!

      avatar
      Admin
    2. Hi admin and enzo :D I JUST WANT TO KNOW IF WHAT SHOULD I TYPE IN SHELL OF THE MYSQL TO SET A PASSWORD THAT WILL ENCRYPT IT BECAUSE LIKE WHAT ENZO OBSERVE ONLY THE USERNAME PASSWORD IS ENCRYPTED.

      avatar
      Marinie
    3. But sir/ma'am it seems that it was not explain in the above of how does the encryption happen in the database ?

      avatar
      Marinie
    4. The encryption is done in the server side and not the database

      avatar
      UBL Designs
  3. Very nice solution. It is very useful to me. Please add the solution for validation of those fields. Thanks for giving this solution.

    avatar
    Web Development Company
  4. Hey, thank you sooo much for the script.

    avatar
    Aysha
  5. i put the user name admin and pass 7eec54842ae92700ea21f7289a2ed383d033e22ae348aeb5660fc2140aec35850c4da997kikikikikicbtr as database they said there is eror so what shall i do?

    avatar
    girl
    1. Could you tell us what the error says?

      avatar
      Admin
  6. Hey Admin, Thanks for the great video. I am trying to learn a few PHP things and create a sort of PHP template where i can simply modify and use when needed. Main aim being to create: - A secure log in system (with PHP/MySQL) - a simple CMS system that would allow the adding,editing,removing of content (may that be text or images) This tutorial seem to help me with the first part! Creating the login page and using some pages when logged in. Having seen some other tutorials though i have to ask... everyone seems to prefer to put the SQL connect information on a separate file (global.php) then just call the .php that contains the info. Is there a reason you didnt follow that road? Thank you

    avatar
    ultimAvalon
    1. This was just so all code was in the same place. I would suggest you to seperate your code. Have html code within html files, php within php, javascript within js files and so on. I would also suggest not to use mysql and to move to either mysqli or pdo due to the added security and functionality. We are updating this tutorial to be more functional and we will also be showing how to use pdo instead of the old mysql, using pdo prepared statements adds a lot more security than the standard mysql functions. Hope this helps :)

      avatar
      Admin
  7. nice this tutorial...but i am still waiting part 3

    avatar
    srilinux@gmail.com
    1. We are in the middle of re doing it all as its a little out dated. Thanks UBL

      avatar
      Admin

Leave a Comment

By posting you accept to signing up to our newsletters.
You are free to opt out at anytime by clicking on the link within the newsletter.
We will not give your personal information to any 3rd party companies, it will only stay with us.
Without accepting this you will not be able to comment.

Do you accept?