Skip to content

The PHP Authentication System is a secure solution built with PHP and MySQL for managing user access. It supports user registration, login, and logout with a clean design and essential security measures. Perfect for web applications needing user authentication.

Notifications You must be signed in to change notification settings

Iqbolshoh/php-authentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Authentication System

This repository contains a user authentication system built with PHP and MySQL. It includes features such as user registration, login, and logout functionalities.

Banner

Installation

To run this project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/iqbolshoh/php-authentication.git
  2. Navigate to the project directory:

    cd php-authentication
  3. Make sure you have a local server setup (e.g., XAMPP, WAMP, MAMP) and place the project files in the server's root directory.

  4. Import the database:

    • Open your MySQL database management tool (e.g., phpMyAdmin).
    • Create a new database.
    • Import the database.sql file into the new database.
  5. Update the database configuration:

    • Open includes/config.php and update the database connection details.

Usage

To use the application, open your browser and navigate to http://localhost/php-authentication. This will load the main page of the application.

User Registration

  1. Go to the signup page (signup/).
  2. Fill out the registration form and submit it.
  3. Upon successful registration, you will be redirected to the login page.

Signup

User Login

  1. Go to the login page (login/).
  2. Enter your credentials and submit the form.
  3. Upon successful login, you will be redirected to the index page (index.php).

Login

User Logout

  1. Click the logout button or navigate to the logout page (logout/).
  2. You will be logged out and redirected to the login page.

Technologies Used

JavaScript PHP HTML CSS MySQL

Contributing

Contributions are welcome! If you have suggestions or want to enhance the project, feel free to fork the repository and submit a pull request.

Connect with Me

I love connecting with new people and exploring new opportunities. Feel free to reach out to me through any of the platforms below:

GitHub Telegram LinkedIn instagram WhatsApp Twitter Email

About

The PHP Authentication System is a secure solution built with PHP and MySQL for managing user access. It supports user registration, login, and logout with a clean design and essential security measures. Perfect for web applications needing user authentication.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published