Possible Duplicate:
Build Tar file from directory in PHP without exec/passthru
Does PHP have a tar like function? So that I can create a tar file containing some dirs just created?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Archive_Tar will do this for you. You should know that this only makes a file that contains a lot of files; they aren’t compressed at all. Consider compressing with gzip for text data or bzip for binary data.