This post shows you how to Unzip a Zip  file using PHP. Its really simple using PHP ZIP extension.

Note this: This script works only If the ZIP extension installed in your PHP server.

PHP has built-in extensions for dealing with compressed files. Here is the script for you to play around:

$folder_name = 'unzip-folder';
if ( $zipped ) {
//if yes then extract it to the said folder
$extract = $zip->extractTo($folder_name);
//if unzipped succesfully then show the success message
echo "Your file extracted to $folder_name";
//close the zip

Are you want to get implementation help, or modify or extend the functionality of this script? Submit paid service request