Remove an empty directory from a ZIP file with PHP

Posted by desolat on Stack Overflow See other posts from Stack Overflow or by desolat
Published on 2010-05-17T12:52:32Z Indexed on 2010/05/19 5:40 UTC
Read the original article Hit count: 166

Filed under:
|

PHP brings a class for ZIP file manipulation. It also allows the creation of directories with addEmptyDir() and the deletion of an entry with deleteName(). But the deletion does not work on directories (empty or not). Is there any way to delete empty folders in a ZIP file (prefered is buildin PHP functionality)?

© Stack Overflow or respective owner

Related posts about php

Related posts about zip