GithubHelp home page GithubHelp logo

php-login-form's Introduction

PHP & MYSQL Login Portal

This is a simple login portal written in PHP and is driven by a MYSQL database. This project includes sessions and a simple HTML form to make it easier to implement and use.

Pages

So far this login form works with 5 pages. Starting with the database connection, the HTML form, the login / signup form and finally the profile page.

Database Connection

The database connection is commonly used on each page that a database connection is used, but I have implemented the code on a separate document so that all is needed is an include page statement to connect to the database. After changing the servername, username, password and database name for your project, you won't need to change it or open it further.

Index

The index page used for the entry point into the login portal. It has a signup form, login form and a remember password checkbox. This page will then direct your information to either login or signup page. If there is errors in the information then you will be taken back to the index page, otherwise it will be checked against the database and then you'll be directed to the profile page.

Login / Signup

The signup form will take the information and insert it into the database after validating it. Currently after this the program will only tell you if it was successful. I will eventually redirect the user to the profile page again. The Login page will check the details you entered against the ones in the database. If they are valid you'll be directed to the profile page, otherwise back to the index page.

Profile

The profile page currently only displays a hello message, showing that the program stored the session data and validated the data.

php-login-form's People

Contributors

mrmascott10 avatar

Watchers

 avatar  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.