Skip to content

Instantly share code, notes, and snippets.

Last active Oct 14, 2021
What would you like to do?
Unzip a file on with PHP
$unzip = new ZipArchive;
$out = $unzip->open('');
if ($out === TRUE) {
echo 'File unzipped';
} else {
echo 'Something went wrong?';
Copy link

HadleighAndHall commented Apr 30, 2015

You Sir, Are a true Hero! Love this little script.

Copy link

JoshMullins commented May 31, 2015

Thank god for this little fix, true lifesaver.

Copy link

unknownArtist commented Oct 5, 2016

thanks man...

Copy link

femiowo commented Jun 21, 2017

Thanks man!

Copy link

Wooody82 commented Aug 23, 2017

Thank you!

Copy link

hungryjos commented Aug 29, 2017

Thanks! This saved me a lot of pain!

Copy link

agengdp commented Sep 20, 2017

Thank you, thank you 👍

Copy link

kingsolomon17 commented Mar 7, 2020

thanks man
again please how to i make it it extract to a specific folder

Copy link

tenternet commented Jun 26, 2021

It keeps showing
Something went wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment