A simple and secure login system built with Core PHP and MySQL. This project demonstrates basic user authentication using procedural PHP—ideal for beginners or as a lightweight boilerplate.
- User login system
- Session management
- Password verification with hashing
- Clean and minimal code structure
- Fully working example with sample credentials
Follow these steps to set up the project locally:
Create a new database named: progesh
- Download the project files
- Unzip and place the folder inside your web server's root directory (e.g.,
htdocsfor XAMPP)
- Open phpMyAdmin
- Select the
progeshdatabase - Import the provided SQL file named: progesh.sql
This will create the necessary users table and insert a sample admin user.
Open your browser and navigate to: http://localhost/core_php_login
Use the following credentials to log in:
- Email:
[email protected] - Password:
admin