Login and Registration Using PHP and MYSQL
Login and Registration Using PHP and MYSQL
Today we are going to develop a user login and registration system with the admin panel. The normal users are accessing our my account and normal user not allowed to access admin pages. We have created normal user login form and admin login form both are separate to login. After logging in, the normal users are redirected to my account index page while the admin users are redirected to the admin dashboard pages.
User Login and Registration With Admin Panel Using PHP and MYSQL
Today we are going to develop a user login and registration system with the admin panel. The normal users are accessing our my account and normal user not allowed to access admin pages. We have created normal user login form and admin login form both are separate to login. After logging in, the normal users are redirected to my account index page while the admin users are redirected to the admin dashboard pages.
So let's start with creating the files and related folders, shall we? Navigate to the folder on your machine that is accessible to the server (that is, www because I am using wamp if you are using xampp place htdocs), and create the following files and folders:
Project Flow and feature Steps
This is a mini Project. We developed two Modules.
- Normal User Module.
- Admin Panel Module.
Normal User Module
In this module, the user can register yourself and after registration, the user can log in with registered email id and password.
if the user does not remember his own password then go to the forgot link and the user can request for the password using a registered email id.
- Normal User Registration
- Normal User Login
- Normal Forgot Password
Note: Forgot password Link will not work on localhost.
Localhost Link: http://localhost/usersystem
Admin Panel Module
Admin can log in with the given details and after login admin manage many sections these are given below.
- Admin Login
- Admin can manage all registered users. (Manage users)
- Admin can update the user information (Edit user information)
- Admin can delete the user.
- Admin can change own password (Change Password)
Localhost Link: http://localhost/usersystem/admin
A brief overview of the technology:
Front End: HTML, CSS, JavaScript, jQuery
Back End: PHP, MySQL
Tools: Sublime, Notepad++
Software Requirement
- WAMP Server
- Sublime / Notepad++ (I am using Sublime)
Note: you can use another server also like given below
- XAMPP Server
- MAMP Server
- LAMP Server
Project Installation Steps In WAMP Server
(User Registration & Login and User Management System With admin panel Project)
- Download the user-login-and-registration project zip file.
- Unzip the project files and Copy inside c:/wamp/www/usersyetem
- Database Configuration Open Phpmyadmin (http://localhost/phpmyadmin)
- Create a Database named "etl_usersystem".
- Import database "etl_usersystem.sql" file from the database folder
- Open Your browser and write "http://localhost/usersystem" Live Demo for the normal user
- Open Your browser and write "http://localhost/usersystem/admin" Live Demo for the admin user
Test Credential for admin panel:
Username: admin
Password: User@123
Test Credential for normal user panel:
Username: kapilkumar321@gmail.com
Password: 123
