Live username availability check using jQuery Ajax and PHP
Posted in Ajax jQuery PHP

Live username availability check using jQuery Ajax and PHP

During user’s registration or sign up users need to enter a unique username in the form. So to prevent duplicate username in the database table you must check instantly the entered username is unique or not. Unique username help to…

Populate a dropdown list based on selection of another dropdown list using ajax
Posted in Ajax jQuery PHP

Populate a dropdown list based on selection of another dropdown list using ajax

This tutorial will you help to populate a dropdown list based on selection of another dropdown option using ajax. What actually we do here, let’s assume we have two dropdown list in a form. The first dropdown list is the…

How to unzip or extract zip file using PHP
Posted in PHP

How to unzip or extract zip file using PHP

Here is the simple code which will help you to unzip or extract zip file using php. In this tutorial we are using ZipArchive class of php to do so. ZipArchive is a built in class of PHP. ZipArchive was introduced in PHP…

How to create zip file using php
Posted in PHP

How to create zip file using PHP

One of the most popular and vastly used compression format is zip. Any number of files and folders can be stored within a zip file in a compressed size. “.zip” is the extension of the zip file. One of the…