How to use the unzipper.php script

The unzipper.php file allows us to unzip any zip file on the server. Firstly, we need to download the unzipper.php file using this GitHub link.

After downloading the script, we must upload the unzipper.php file on the server in the same directory where the .zip file(s) is present. Next, we'll open our website and add path-to-file/unzipper.php to the URL. This script will provide a user-friendly interface for the users to unzip any number of files.

The output of the "unzipper.php" file
The output of the "unzipper.php" file

We can choose any zip file from the drop-down menu to unzip and extract this zip file into the desired path by adding the path into the extraction path field. If we don't provide an extraction path, it will extract the file to the same place as the .zip file and unzipper.php.

This script also provides the ability to compress files back into zip format using the "Zip Archive" button.

Free Resources

Copyright ©2024 Educative, Inc. All rights reserved