June 2015


Hello friends, Previous chapter we learned full Register form with email verification code. Today we are going to learn

Check existing username and match password using ajax in form. While register the form we have check whether the username is already exist in the Database, Samething we do while login to check the confirmation password are matching are not.
There are few ways to check the existing username in database but ajax is the simple and fastest way for checking.

So here we go,

Step 1:
please Use previous chapter Database, Table, Config File, and Css file.

Step 2: Create password update form with ajax script names as password_update.php.


Check Existing username and match password using ajax

Just use this ajax script, we can learn more about ajax in my next ajax tutorials.

Step 3 : Create check password file named as check_password.php


Run the file and check the Results, That’s it u did it, enjoy the code

Download full code here –  Check existing username and match password using ajax

Alternative download link

Hello Developers, For Previous session we learned only login form using with session and database, Here We are going to full Registration form with sample coding.

Php registration form with email verification

Step 1:
First Create Config file for database connection named as config.php
Please Check previous link for creating DB and Table

Step 2 :

Create register page named as register.php with verification code in php


Php Registration Form with email verification - Full codingStep 3:
Create as Css File for design named as style.css


Step 4: Create email activation page named as activation.php

Step 5: Create login.php page


Php Registration Form with email verificationStep 6: Create logout.php page


Step 7: Create main.php for home page

Great You learned it easily, download the full source code and enjoy the coding.

Click here to download full code – Php coding for registration with emial verifiaction

Alternative download link