Code for unziping file
Once you have the file uri of the uploaded file, this stops being a Drupal problem and starts being a PHP problem.

You should take a look at SO for a full description.

What you are looking for is this snippet.


$zip = new ZipArchive;
$res = $zip-&gt;open('file.zip'); 
if ($res === TRUE) {
  $zip-&gt;extractTo('/myzips/extract_path/');
  $zip-&gt;close();
}