Skip to content

This is a simple registration and login form that uses a PDO (PHP 7) connection to send and obtain user information from a MySQL database

License

Notifications You must be signed in to change notification settings

priscilla-arinze/Login-and-Register

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Login-and-Register

This is a simple registration and login form that uses a PDO extension (supported by PHP 7.1) to send and obtain user information from the database. The users' passwords are stored in the database with the password_hash() function and the PASSWORD_DEFAULT bcrypt hashing algorithm.

Used WAMP server to run

server.php: Includes the logic for both the login & registration pages

  • within REGISTER section, converts plain text passwords into a hash via password_hash() function using the default bcrypt hasing algorithm PASSWORD_DEFAULT

login.php: HTML for main login page

  • includes/imports server.php
  • will direct user to register.php if they select "Sign Up" link

register.php: HTML for registration page

index.php: HTML for successful login page

Login Page


Register Page


Successful Login Page


phpMyAdmin

About

This is a simple registration and login form that uses a PDO (PHP 7) connection to send and obtain user information from a MySQL database

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published