Created
February 1, 2018 19:14
-
-
Save lukiz87/814cab2e6cb66c1229e5e32d50c389cd to your computer and use it in GitHub Desktop.
Skrypt rozpakowujący archiwum
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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