Coder Social home page Coder Social logo

vegax87 / php-registration-form Goto Github PK

View Code? Open in Web Editor NEW

This project forked from laur1s/php-registration-form

0.0 1.0 0.0 410 KB

Login and Registration form using PHP, MySQL, jQuery and Bootstrap 3 (bootrsrap 4 upgrade soon). Easy Deploy with Docker

License: MIT License

Dockerfile 0.08% CSS 0.45% JavaScript 79.59% PHP 19.88%

php-registration-form's Introduction

Users Login and Registration Template

This is a secure login & registration form using PHP, MySQL and jQuery using Bootstrap 3.

Form is using MySQL Prepared Statements and password encryption using SHA-256.

Index page Login and Registration pages

Installation using docker(recommended)

  1. Clone the repo $ git clone https://github.com/laur1s/PHP-Registration-Form.git
  2. Run docker-compose up -d This will fetch PHP and MySQL Docker images, launch apache on http://localhost:8080 and MySQL on port 3306
  3. If you want to stop the service just run docker-compose down

Installation

1.Clone the Repository to your www directory

$ git clone https://github.com/laur1s/PHP-Registration-Form.git
  1. Setup your MySQL database

  2. Create an users table according by running the following SQL commands:

    1. CREATE DATABASE db;
    2. USE db;
    3. Run the following SQL statement:
    CREATE TABLE IF NOT EXISTS 'users' (
    'id' int(11) NOT NULL AUTO_INCREMENT,
    'username' varchar(100) NOT NULL,
    'email' varchar(100) NOT NULL,
    'password' varchar(255) NOT NULL,
    PRIMARY KEY ('id')
    ) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
    
    

Use

Feel free to modify the template according your needs and push the code if you make any improvements!

php-registration-form's People

Contributors

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