Hi. Congratulations for your class. Its very useful.
I used it but found a problem. I can't download the zip file generated if it's bigger than 2MB. The file came corrupted. I tried resolve this problem without success.
Er. Rochak Chauhan - 2009-06-16 06:35:35 - In reply to message 1 from destrutorx
First of all thank you for the appreciation.
The problem you are facing is a very common. The solutions is two fold.
1) Increase the "memory_limit" in your PHP.ini
2) Alternatively, need to read file bit by bit and write as a zip file, rather than reading the complete file(s) in the memory and then writing it as a zip file. Hence, not using up the allocated memory.