Force download file inside zip archive |
Thanks @mwhitney. I figured out that the native php ziparchive library has the correct methods to do the job.
PHP Code: $unzipfolder = 'media/unzipped/' . $userid; I'm creating a new zip object. If this can successfully open the zipfile, it unzips (extractTo) the zipfile to a specified folder. With the directory helper I can read the contents of that folder. |
Messages In This Thread |
Force download file inside zip archive - by Wouter60 - 07-08-2015, 09:33 AM
RE: Force download file inside zip archive - by mwhitney - 07-09-2015, 09:39 AM
RE: Force download file inside zip archive - by Wouter60 - 07-09-2015, 01:06 PM
|