Extracting specific files from ZIP in PHP

Posted by Michael on Stack Overflow See other posts from Stack Overflow or by Michael
Published on 2010-04-25T02:16:56Z Indexed on 2010/04/25 2:23 UTC
Read the original article Hit count: 265

Filed under:
|
|

If I have a ZIP file whose structure is:

  -directory1 DIR
      -files in here
  -directory2 DIR
      -more files in here

Using pclzip.lib.php how can I open up this ZIP file and extract directory1 (recursive) into a directory and then extract directory2 (recursive) into another directory.

© Stack Overflow or respective owner

Related posts about php

Related posts about zip