Skip to content

Instantly share code, notes, and snippets.

Forked from trajche/unzip.php
Created Nov 14, 2017
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?';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment