Secure Web Application
Step 1: Install xampp from https://www.apachefriends.org/download.html and paste the above zip code from github in htdocs directory.
Step 2: Set Up the database using phpmyadmin by issuing the following command.
=> Create a database called verify-user and in this database
CREATE DATABASE verify-user
=> Create a users table with attributes as follows:
CREATE TABLE `users` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(100) NOT NULL, `email` varchar(100) NOT NULL, `verified` tinyint(1) NOT NULL DEFAULT '0', `token` varchar(255) DEFAULT NULL, `password` varchar(255) NOT NULL, PRIMARY KEY (`id`) )
Step 3: Start the Apache and Mysql service, Navigate to the http://localhost/zendesk/login.php
Following Functionalities are implemented:
1) Register new user on create an account page: http://localhost/zendesk/signup.php :
2) Login Page:
3) Post Login Page:
4) Logout Page:
5) Change Password Page (In Progress)