Skip to content

DigitalEforce/php-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔐 PHP Login & Registration System

A simple, secure, and functional PHP login & registration system with MySQL database.
Perfect for learning user authentication or integrating into small projects.


🚀 Features

  • User registration with unique usernames
  • Secure password hashing (BCRYPT)
  • Login authentication
  • Protected dashboard page
  • Logout functionality
  • Easy setup and integration

🛠 Installation

  1. Clone or download this repository.
  2. Import sql.sql into your MySQL database.
  3. Update database credentials in config.php.
  4. Run on a local server (XAMPP/WAMP) or live server.
  5. Open register.php to create a new account.
  6. Login via login.php to access dashboard.php.

🧾 Database Structure

CREATE DATABASE php_auth;
USE php_auth;

CREATE TABLE users (
    id INT AUTO_INCREMENT PRIMARY KEY,
    username VARCHAR(50) NOT NULL UNIQUE,
    password VARCHAR(255) NOT NULL
);

🌟 About Me

Hi, I’m Naveed, a passionate web developer.
I love creating functional, clean, and secure web applications.

💻 Check out my GitHub profile for more projects:
https://github.com/DigitalEforce

📫 Contact me anytime for collaboration or suggestions.


📌 License

This project is free to use and modify.


“Code is like humor. When you have to explain it, it’s bad.” – Cory House

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages