Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 958 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 958 Bytes

PHP-login

A login App with SESSIONS, Password hash, and Password recovery made with PHP 7, MySQL, phpMyAdmin, and Bootstrap.

How to use it?

  1. Open XAMPP dashboard.

  2. Click phpMyAdmin on the menu.

  3. Create a new database "phplogin".

  4. Create table "users" with 4 fields*:

    Id - mediumint, Primary Key, AUTO_INCREMENT

    Name - varchar

    Email - varchar

    Password - varchar(128)

*See screenshoot name table-users-Capture.jpg

  1. Download or clone this repo.
  2. Put "PHP-login" folder inside your "xampp" folder.
  3. Open your browser and type "localhost:8080/PHPLogin"
  4. Enter the account info and press "Create my account" button.
  5. Check if the info. is correct on the database and if the password is a hash.
  6. Go back to your browser and click "Login"
  7. Enter the email and password you use when created your account and click login.
  8. If everything is ok, you are logedin and a SESSION for 1 minute is created.