Coder Social home page Coder Social logo

deshan555 / secure-login Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 27 KB

πŸ”πŸ”‘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.

PHP 83.39% CSS 16.61%
css html mysql-database php server-side-validation

secure-login's Introduction

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

secure-login's People

Contributors

deshan555 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.