Skip to content

MrJohn2014/LoginSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LoginSystem

  • Web login system is created with PHP, Javascript, MySQL and PHPMailer
  • Apply jQuery, AJAX and Bootstrap
  • XAMPP 7.2.0 (Apache web server and MySQL Database)

index page

index_page

index error page

index_errorpage

register page

signup_page

register error page

signup_errorpage

forget password page

forget_pwd

If the user forgets his password, he will need to enter their registered username. And then a validation code will send to user's email. User uses validation code to reset their password.

validation code example screenshot(check user email)

validation_code

reset password page

reset

reset error page

reset_errorpage

sign in page

login_success

database view

database

Instructions to run

  • Download and Set Up XAMPP(make sure the Apache Web Server and MySQL Database running)
  • Go to the website localhost/phpmyadmin, create a MySQL database named loginapp and create table named users with 6 columns. The 6 columns are named with id, firstName, lastName, email, userid, pwd separately.
  • Register a new user in this LoginSystem, then user can sign in successfully.
  • If the user forget their password, the LoginSystem will apply PHPMailer to send user a email with validation code to let them reset their password. So as to do that, you need to add some codes in the reset.php file.
    In line 28 $mail->Username = ''; add a gmail address into ''
    In line 29 $mail->Password = ''; add the password of gmail into ''
    In line 34 $mail->setFrom(""); add the same gmail address into ""

About

Web login system is created with PHP, Javascript, MySQL and PHPMailer

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors