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.
To run this project locally, you will need to have XAMPP and PHP installed. This project was developed on PHP 8.0.
- Clone the repository inside your project folder. This folder must be inside the
/xampp/htdocsfolder.git clone https://github.com/hypetf/php-auth-system.git
- Open XAMPP and initialize the modules Apache and MySQL.
- Open the Apache server by clicking on "Admin" on XAMPP and navigate to:
http://localhost/phpmyadmin/
- Create a database and a table with 4 columns:
userid int(11) AUTO_INCREMENT userName varchar(128) userEmail varchar(128) userPwd varchar(128)
- Update the variable
$dbNamein your/dbh.inc.phpfile with your database name that you have just created:/includes/dbh.inc.php
- Navigate to the following link to see the project:
http://localhost/your_projectFolder_name/home.php
Distributed under the MIT License. See LICENSE.txt for more information.
