can someone help me? pls... :'-(
Started on the old forum in January 2010 · view the original in the archive · old links redirect here
if its a free webhost and the admin panel for that host doesnt have an unzip function then the only other way is to unzip it using php, hopefully that webhost has the archive module compiled for php so this script should work
<?php
$zip = new ZipArchive;
$res = $zip->open(’my_zip_file.zip’);
if ($res === TRUE) {
$zip->extractTo(’my_extract_to_dir/’);
$zip->close();
echo ‘ok’;
} else {
echo ‘failed’;
}
?>
if they dont have the archive module then you'll either have to upload the files singularly over ftp or look around for a unzip class which doesnt use php's archive module (there is one as i have used it before and it uses the binary packer and unpacker to replicate the archive module functions)