Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

sameeruddin/user_auth

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

user_auth

Basic user authentication system using PHP & MySQL

Clone the repository to htdocs or www repository according to the tool (XAMPP or LAMPP)

Prerequisites:

  1. XAMPP -> Start (Apache & MySQL) using PHPMyAdmin, create a database user_auth and import the user_credentials sql file
  2. In db_config.php file, assumption for MySQL db connection has no password.

Use-case Execution:

  1. Visit the index page, localhost/user_auth/
  2. Create an account by visiting, Register Here page
  3. If registration is successfull then, visit the Log In page
  4. Enter the registered account credentials to access dashboard page
  5. If the details are matched then, dashboard page will be loaded
  6. In dashboard page, you have a button to Log Off from your account.

Test-case:

  1. Basic form validations in all the pages
  2. User cannot access the dashboard page without a valid account
  3. Account with simillar username cannot be registered
  4. Hash password is stored in the MySQL table
  5. Session will be expired in 5 minutes, if there isn't any activity on dashboard page

About

Basic user authentication system using PHP & MySQL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.