Skip to content

Instantly share code, notes, and snippets.

@lukiz87
Created February 1, 2018 19:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lukiz87/814cab2e6cb66c1229e5e32d50c389cd to your computer and use it in GitHub Desktop.
Save lukiz87/814cab2e6cb66c1229e5e32d50c389cd to your computer and use it in GitHub Desktop.
Skrypt rozpakowujący archiwum
<?php
//Skrypt rozpakowujący archiwum
$zip = new ZipArchive();
if ($zip->open("./wordpress.zip") !== TRUE) {die ('Błąd rozpakowywania archiwum.');}
$zip->extractTo("./");
$zip->close();
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment