open($_GET['file_name']);
if ( $zipped == TRUE) {
if(!$zip->extractTo(dirname(__FILE__))){
echo "Unzip failed";
}
$zip->close();
echo "File ".$_GET['file_name'].' unzip successfully.';
}else{
echo "Unable to unzip: failed.";
}
}
?>
';
echo "Select a zip file & submit ok button to unzip the file.