Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 2.07 KB

README.md

File metadata and controls

39 lines (32 loc) · 2.07 KB

Secure Login

This is a simple login and register system written in PHP. It allows users to create an account, login with their credentials, and logout when they are done.

Features

  • User registration: Users can register for an account by providing their name, email address, and password.
  • User login: Registered users can login with their email address and password to access their account.
  • Password hashing: Passwords are securely hashed before being stored in the database.
  • Session management: User sessions are managed using PHP's built-in session management functions.
  • Error handling: Basic error handling is implemented to provide feedback to users in case of errors.
  • Database connectivity: The system uses MySQL database to store user information.

Requirements

  • PHP 7.0 or higher
  • MySQL database
  • Web server (e.g., Apache)

Installation

  • Clone or download the repository to your local machine.
  • Create a MySQL database and import the provided database.sql file to create the necessary tables.
  • Update the database connection information in config.php file with your own database credentials.
  • Upload the files to your web server.
  • Access the index.php file in your web browser to start using the login and register system.

Usage

  • Register: On the login page, click the "Register" link and fill in the required information to create a new account.
  • Login: Enter your registered email address and password on the login page and click the "Login" button to access your account.
  • Logout: Click the "Logout" link on the account page to log out of your account.

Troubleshooting

  • If you encounter any issues with the system, please check the following:
  • Ensure that your PHP version meets the requirements mentioned above.
  • Make sure your MySQL database is properly configured and accessible.
  • Verify that the database connection information in config.php is accurate.

Credits

that project UI based on : https://www.w3schools.com/howto/howto_css_profile_card.asp

Screen Shots

APP-SS