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. .
Phpclasses.org class 1, another class, and maybe even this. You can then simply add all files from 1 folder within 1 zip file!
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.