Zip download function

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

    Zip download function

    hlo, anyone have a function to convert downloaded file into zip format, ex. wapshare or xchanger.mobi???

    #2
    Yay Hands Down!!!! Thank me!!!! ^______________________^ hahaha

    Originally posted by borne View Post
    hlo, anyone have a function to convert downloaded file into zip format, ex. wapshare or xchanger.mobi???

    inet php code function to convert downloaded file into zip format


    Code:
    if ($do=="Buntun bridge is falling down")
    {
    $letspackoutFiledownload = "testmakemezipcodeformat3500philippines.zip";
    // let us pack the file in zip format : make zip archive/rar... etc
    
    $zip = new ZipArchive();
    $zip->open($letspackoutFiledownload, ZIPARCHIVE::CREATE);
    //add Files any format.... now lets put/add the file inside the zip archive
    $zip->addFile("pinoywapcoderrules.php");
    $zip->addFile("postalcode3500.jpeg");
    $zip->addFile("pinoyfacedown.txt");
    $zip->addFile("pinoypower.wav");
    $zip->close();
    echo"kabam! credits to inet help. i got a working php function to convert downloaded file into zip,rar, etc. format";
    }
    Last edited by inet; 16.04.11, 16:30. Reason: more explanations added
    Services

    Are you looking to take your wap or wapsite to a higher level? Do you want to stand out and rise above your competitors?

    Below is a list of services I offer:

    Wap Design and Customized Coding -The first way to stand out in a crowd is to have a brilliant and unique design for your wap or wapsite.

    Rates

    General consulting – My current hourly rate is $100 / hour.
    Custom Wapsite Community - My current rate is $500 / Wap Community Development.

    Comment


      #3
      thnx ill try

      Comment

      Working...
      X