PHP Classes

This was described as to extract.

Recommend this page to a friend!

      Zip File  >  All threads  >  This was described as to extract.  >  (Un) Subscribe thread alerts  
Subject:This was described as to extract.
Summary:Package rating comment
Messages:2
Author:Andy Kerr
Date:2010-08-06 23:43:26
Update:2010-09-16 20:03:01
 

 

Andy Kerr rated this package as follows:

Utility: Insufficient
Consistency: Not sure
Examples: Insufficient

  1. This was described as to extract.   Reply   Report abuse  
Picture of Andy Kerr Andy Kerr - 2010-08-06 23:43:26
This was described as to extract. Although it displayed files within the zip file, it would not (or at least, didn't show in the examples) any method to extract the files

  2. Re: This was described as to extract.   Reply   Report abuse  
Picture of Amuzi Bargad Amuzi Bargad - 2010-09-16 20:03:01 - In reply to message 1 from Andy Kerr
If you had a closer look, you'd see that the $zipfile->files array also contains the file contents. Extracting is as simple as running a foreach() loop over this array and using file_put_contents() and probably touch() for setting the modification date.