Home » File Formats » Archive_Zip » Bug #2302
Creating a Zip Archive
Details
| Submitted | 2004-09-08 10:17 UTC |
|---|---|
| From | rudolf dot weber at bigfoot dot de |
| Status | Suspended |
| Package | Archive_Zip |
| PHP Version | Irrelevant |
| OS | Windows |
| Roadmaps | (Not assigned) |
Comments
[2004-09-08 10:17 UTC] rudolf dot weber at bigfoot dot de
Description:
------------
I was zipping a directory structure with a lot of files inside. If i opend the zip file i got entries for directories, and they look like files with 0 Byte length.
I changed the ZIP.PHP from (Line 1179 Version 1.6)
if ((is_file($p_filename)) || ((is_dir($p_filename)) && !$p_remove_all_dir)) {
to
if (is_file($p_filename)) {
and it worked for me. I don't know if this is a bug or if i was using the class in a wrong way. More documentation would be nice ;-)
Hope that helps
Rudi