Skip to content
Advertisement

Tag: ziparchive

Download PHP ZipArchive returns corrupt, blank zip file

I’ve had a look at various threads about ZipArchive and how to get files to download. However, I’ve gotten a bit stuck here. I currently have a form that looks like this Within that form, are some aspects that come from the rest of the script, which is here: I’ve tested all of the other bits, like the generation of

extract 7z extension – PHP

I am wondering if PHP can extract the *.7z extension. I have searched a lot about it and I all what I see is *.zip, *.rar etc… but not 7z. Here is the code that I have tried. ZipArchive(); is not supporting 7z. I have many 7z files and I am looking to let PHP unpack them to get information

zipArchive with MAMP?

trying to work out how to install zipArchive extension with MAMP, but not having much luck any know how to do this? I have no idea Answer Answering my own question for completeness. JUST UPGRADE MAMP!!! Sorry for shouting 😉

Advertisement