Does anyone know of any class's that will zip folders?

Discussion in 'PHP' started by exodus, Jun 24, 2007.

  1. #1
    Looking for a php class that will zip/tar web folders for those without root/shell access to shared hosting. I have used in the past a few pieces of code that will do that, but the hard drive it was upon was lost a long time ago and I totally have forgotten where i got the code from.

    Some links would be helpful or even some posts of the class's that would recursively zip/tar up a sub folders on a shared host.

    Yes, I know about cpanel's backup,but that does the entire public_html folder. What I am after is to easily zip up a add-on domain's folder, server to server transfer it, and then unzip it again in it's new home.

    Personally it would make for selling sites a bunch easier!!

    I know about php version 5.* built in zip functions, but the servers usually have only php version 4.* on them.

    Okay I found something that looks interesting.
    .
     
    exodus, Jun 24, 2007 IP
  2. DeViAnThans3

    DeViAnThans3 Peon

    Messages:
    785
    Likes Received:
    83
    Best Answers:
    0
    Trophy Points:
    0
    #2
    DeViAnThans3, Jun 24, 2007 IP
  3. exodus

    exodus Well-Known Member

    Messages:
    1,900
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    165
    #3
    Thank you that is where I found a class that worked, but it was a combo of two class's. Only thing with it though was that it does not add the files in the home directory and only the sub-folders. going to work with it to try to get it to work with the home files too.
     
    exodus, Jun 25, 2007 IP