Registration and Login Using Bootstrap Framework and PHP/MySQLi with Source Code

Language

This is a complete source code on how to create a registration and login page using Bootstrap Framework in PHP/MySQLi. As normal registration and login page, the code itself validates the user credentials such as checking the email if it already exists on the database when signing up. Bootstrap Framework will help you with the design of your web application. By that, bootstrap will help you to provide your end-users or client have a better experience when using it. Talking about the backend, the source code uses PHP Object-Oriented Programming OOP, this type of coding will help you to develop a PHP project easier to modify, debug, and maintain. Check out the source code and learn for your future project development using PHP/MySQLi (OOP) and Bootstrap Framework.

Features/Pages:

  • Home Page
  • Registration Page
  • Simple Admin Page
  • Logout Function
  • Validations

Note that this is a simple source code that didn’t include a security feature on this script. This is just a demonstration of a registration and login page with session and validation.

Do not use this on the production site.

How to Install

  1. Download and Install XAMPP or WAMP to run a PHP script on your computer.
  2. Download and Extract the source code zip file. (Download button is located below.)
  3. If you are using XAMPP, copy the 'reg-login-bootstrap' folder into the 'htdocs' directory in the xampp directory located in the Local Disk C. If you are using WAMP, copy the 'reg-login-bootstrap' folder into the 'www' directory.
  4. Open PHPMyAdmin from your XAMPP or WAMP Control Panel. [ http://localhost/phpmyadmin ]
  5. Create a new database known as 'member'.
  6. Click 'Import' and choose the 'member.sql' file to import the database.
  7. To access the system, write on the web browser or click the following: http://localhost/reg-login-bootstrap

Screenshots

Home
Login
Registration
Admin

A detailed tutorial on this can be found at Registration and Login Page using Bootstrap Framework and PHP/MySQL.

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Comments

Notice: Undefined variable: dbc in C:\xampp\htdocs\mechdocs\includes\login.inc.php on line 8 Fatal error: Call to a member function query() on a non-object in C:\xampp\htdocs\mechdocs\includes\login.inc.php on line 8
Submitted bysargunanraman (not verified)on Wed, 12/21/2016 - 16:46

send message from admin to the user depend on profile

Add new comment