diff --git a/unzip.php b/unzip.php new file mode 100644 index 0000000..5e4ac47 --- /dev/null +++ b/unzip.php @@ -0,0 +1,192 @@ +open($target_Path) === true) { + $zip->extractTo(__DIR__); + $zip->close(); + $_SESSION['message'] ='Unzipped Process Successful!'; + unlink($target_Path); + } else { + $_SESSION['message'] = 'Unzipped Process failed'; + } +} + + +if (!empty($_SESSION['message'])){ + echo "
"; +}?> + + + +