This is a simple login and registration system built using:
- PHP
- MySQL (via XAMPP)
- HTML, CSS, JavaScript (for UI)
- Register new users
- Login using email and password
- Passwords are stored with MD5 hashing
- Redirect to dashboard after login
- Logout functionality
- Simple UI with FontAwesome icons
- Place the folder inside htdocs of XAMPP.
- Start Apache and MySQL in XAMPP.
- Open phpMyAdmin and create a database named login & registration.
- Create a users table with the following fields:
id INT AUTO_INCREMENT PRIMARY KEY,
firstName VARCHAR(255),
lastName VARCHAR(255),
email VARCHAR(255),
password VARCHAR(255)