Script to Download jar files as zip ....!!!plz help
Started on the old forum in October 2010 · view the original in the archive · old links redirect here
auto index script already available so search in forum. for jar file download, define MIME TYPE
External image (may be gone) Unlimited Web Hosting service. 99.99 $ uptime Guarantee. Free Trail Available for 30 days. Free Script | Null script| Php | Unlimited Web Hosting| Unlimited Space | Unlimited Bandwidth| Unlimited Domain| $3/m Unlimited Space | Unlimited Bandwidth|5 Domain| $2/m 10 GB Space | 100 GB Bandwidth| 1 Domain| $1/m FFMPEG| FREE SCRIPT | FREE SITE BUILDER |LIVE SUPPORT [Timewebhosting.com On Web Hosting| Unlimited Web Hosting](http://www…
<?php
$zip = new ZipArchive();
if ($zip->open('filename.zip', ZIPARCHIVE::CREATE) !== TRUE) {
die ("could not open archive");
}
$fileList = Array(
'yourfile.jar'
);
foreach ($fileList as $f) {
$zip->addFile($f) or die ("ERROR: could not add file: $f");
}
$zip->close();
echo "Archive created succesfully.";
?>
wow, ive been missing this site for more than 2 years lol
I dont think ANGELUS posted code will work ever ..:)
try to look here Create ZIP File (zip, archive, ZipArchive, create zip file) - PHP Classes
Unamos los corazones,hoy todos somos multicolores!
Donostex wrote: HOW DO I DEFINE MY MIME TYPE@videodesihot
Added after 2 minutes:
Thanks dude.....
Thanks angel
External image (may be gone) Unlimited Web Hosting service. 99.99 $ uptime Guarantee. Free Trail Available for 30 days. Free Script | Null script| Php | Unlimited Web Hosting| Unlimited Space | Unlimited Bandwidth| Unlimited Domain| $3/m Unlimited Space | Unlimited Bandwidth|5 Domain| $2/m 10 GB Space | 100 GB Bandwidth| 1 Domain| $1/m FFMPEG| FREE SCRIPT | FREE SITE BUILDER |LIVE SUPPORT [Timewebhosting.com On Web Hosting| Unlimited Web Hosting](http://www…
...Angelus dat wont work... Jor oh! ...i will post somethin dat will wrk 4 u ere
interesting.........................but not worked lol
I'm Proud to be a Sri Lankan!