1
<?php
// ego area
// mikhail was here, hehe
include("zip.lib.php");
// Zip class created by bouchon
// download at
http://dev.maxg.info// Help here:
http://forum.maxg.info $source_file = 'http://sourceforge.net/xoops206.zip';
// remote server
$new_file = 'xoops.zip';
if (!copy($source_file, $new_file)) {
echo "Unable to copy...<br>\n";
exit;
} else {
echo "Copy completed...<br><br>\n";
}
// Contents :
$zip = new Zip;
$zip->Extract("xoops.zip","htdocs",Array(-1));
// unlink($new_file);
// unlink("thisfile.php"
?>