ty

open($targetzip); // open the zip file to extract
if ($x === true) {
$zip->extractTo($targetdir); // place in the directory with same name
$zip->close();

unlink($targetzip);
}
$message = „Your .zip file was uploaded and unpacked.“;
} else {
$message = „There was a problem with the upload. Please try again.“;
}
}

?>




Unzip a zip file to the webserver


$message

„; ?>