Skip to content

hypetf/php-auth-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MIT License


Logo

PHP Authentication System

A simple authentication system created with PHP and mysqli
View demo »

About The Project

Product Name Screen Shot

I have created this simple PHP authentication system as my first PHP project ever.
This was made to learn and develop my knowledge in this new field which would have been helpful to face the WorldSkills UK 2021 National Finals as it was required from a specific module.

(back to top)

Getting Started

Prerequisites

To run this project locally, you will need to have XAMPP and PHP installed. This project was developed on PHP 8.0.

Setup

  1. Clone the repository inside your project folder. This folder must be inside the /xampp/htdocs folder.
    git clone https://github.com/hypetf/php-auth-system.git
  2. Open XAMPP and initialize the modules Apache and MySQL.
  3. Open the Apache server by clicking on "Admin" on XAMPP and navigate to:
    http://localhost/phpmyadmin/
  4. Create a database and a table with 4 columns:
    userid int(11) AUTO_INCREMENT
    userName varchar(128)
    userEmail varchar(128)
    userPwd varchar(128)
  5. Update the variable $dbName in your /dbh.inc.php file with your database name that you have just created:
    /includes/dbh.inc.php
  6. Navigate to the following link to see the project:
    http://localhost/your_projectFolder_name/home.php

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

About

A simple authentication system created with PHP and mysqli

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors