If you want to upload a folder that contains a lot of files to the server, this folder may be a CMS, if the direct upload, whether using PHP or FTP, upload time is quite long, because this folder contains a large number of files, although the file may be very small, but each file to establish a connection, The time it adds up is terrible. In general, the method we use is to compress the folder into a zip or tar.gz file, upload it to the server, and then unzip it on the server, which can save a lot of time.
Many servers provide the ability to understand compressed zip files, such as the cpanel and direct admin panels. But what if your server just doesn't have this feature? You can try using the PHP tool at this time.
Phpunzip This PHP tool is very small in size, only one file, it can easily extract the zip file on the server.
How to use
1. Download and extract the unzip.php file, open with a text editor (you cannot use Windows with Notepad, recommend Notepad2), find in the head of this file
<?php
Set Password
$password = "www.eincy.com";
?>
Save after you modify the password.
2. Upload unzip.php to the server and run it.
3. Select Zip file, you can choose to unzip.php in the same directory zip file, or upload a zip file.
4. Enter the directory you are prepared to extract this zip file, if left blank, the current directory to extract.
5. Enter the password set in the first step, and then click Extract.
File Download Address:unzip.zip (6)