From b9e5bf5aa054fcf759e6af83681d29f7055fe491 Mon Sep 17 00:00:00 2001 From: Andreas Tasch Date: Sun, 17 Jul 2016 22:58:54 +0200 Subject: [PATCH] Cleanup. Comments. --- README.md | 4 ++-- unzipper.php | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 92e7715..9fce9ef 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # The Unzipper -The Unzipper extracts .zip archives or .gz files on webservers. It detects .zip/.gz archives and let you choose which one to extract (if there are multiple archives available). +The Unzipper extracts .zip and .rar archives or .gz files on webservers. It detects .zip/.rar/.gz archives and let you choose which one to extract (if there are multiple archives available). It's handy if you do not have shell access. E.g. if you want to upload a lot of files (php framework or image collection) as archive - because it is much faster than uploading each file by itself. @@ -13,7 +13,7 @@ PHP 5.3 and newer ## Usage * Download unzipper.php and place it in the same directory as your .zip archive. * In Browser type URL to unzipper.php -* Choose .zip archive you want to extract +* Choose .zip, .rar archive or .gz file you want to extract * Optionally select an extraction path, defaults to current directory * Click "Unzip Archive" diff --git a/unzipper.php b/unzipper.php index aabce72..1244796 100644 --- a/unzipper.php +++ b/unzipper.php @@ -1,6 +1,6 @@ Error: Your PHP version does not support Rar functionality.How to install RarArchive'; + self::$status = 'Error: Your PHP version does not support .rar archive functionality. How to install RarArchive'; return; } // Check if archive is readable. @@ -271,7 +271,7 @@ public static function extractRarArchive($archive, $destination) {

Archive Unzipper

- +