Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php extract zip

<?php
$unzip = new ZipArchive;
$out = $unzip->open('wordpress.zip');
if ($out === TRUE) {
  $unzip->extractTo(getcwd());
  $unzip->close();
  echo 'File unzipped';
} else {
  echo 'Error';
}
?>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #extract #zip
ADD COMMENT
Topic
Name
4+2 =