Results 1 to 1 of 1
Nov 28, 2005, 05:58 #1
Zipping a directory along with its subdirectory
I am having a problem in adding the sub directories of a directory which have been zipped by PHP.
The root directory name is being given by the user who just gives the actual path of the directory in the server.
I am able to add all the files that are present in the directory, but the problem is formed when there is any subdirectory in the directory
At first I am calculating the crc32 polynomial for the entire file content and after that I am zipping it with gzcompress but at the time of subdirectory the crc32 value as well as the gzcompression is not working.
If any one knows the solution pls help.