Script to Download jar files as zip ....!!!plz help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • nimeshka
    replied
    interesting.........................but not worked lol

    Leave a comment:


  • triplee084
    replied
    ...Angelus dat wont work... Jor oh!
    ...i will post somethin dat will wrk 4 u ere

    Leave a comment:


  • akela
    replied
    Originally posted by Donostex View Post
    HOW DO I DEFINE MY MIME TYPE@videodesihot

    Added after 2 minutes:

    Thanks dude.....

    Thanks @ANGEL
    Coding Talk: sis and other mobile content MIME types

    Leave a comment:


  • morency
    replied
    I dont think ANGELUS posted code will work ever ..


    try to look here
    Create ZIP File (zip, archive, ZipArchive, create zip file) - PHP Classes

    Leave a comment:


  • Donostex
    replied
    HOW DO I DEFINE MY MIME TYPE@videodesihot

    Added after 2 minutes:

    Thanks dude.....

    Thanks @ANGEL
    Last edited by Donostex; 27.10.10, 12:07.

    Leave a comment:


  • ANGELUS
    replied
    Code:
    <?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.";
    
    ?>

    Leave a comment:


  • akela
    replied
    auto index script already available so search in forum. for jar file download, define MIME TYPE

    Leave a comment:


  • Script to Download jar files as zip ....!!!plz help

    Pls dude, i am a newbie in coding....i am working on an auto index download script. I want the script for users to be able to download jar files as zip !....plz if u have that script, kindly drop it.....thx
Working...
X