Unzip file on remote PHP
Written by tag Friday, 23 August 2013 12:39
Example : unzip.php
------------
$zip = new ZipArchive;
if ($zip->open('ioncube_loaders_lin_x86-64.zip') === TRUE) {
$zip->extractTo('/idnic');
$zip->close();
echo 'ok';
} else {
echo 'failed';
}
?>
-----------