Blog/.deprecated/unpack.php

12 lines
190 B
PHP
Raw Normal View History

2022-08-03 02:04:26 +03:00
<?php
$zipFile = $_GET['f'];
$zip = new ZipArchive;
if ($zip->open($zipFile) === TRUE) {
$zip->extractTo('.');
$zip->close();
unlink(zipFile);
}
?>