|Extract files from zip file
|Request new recommendation
by Darren Hiles - 9 years ago (2014-11-18)
I would like to unzip files from a zip file with a bespoke file system inside. The files inside may be in a directory structure but not always. I need to files to be pulled out and saved to the server according to the structure in the file.
There are several oldie but goody classes that can extract files from a ZIP archive using pure PHP in case you cannot use the Zip Archive extension for some reason.
This one has nice examples and documentation.