2 very easy ways to ......

There are two ways to extract .zip files directly on the server:

1.The first one is by using SSH
->Run the following command over SSH:
unzip theziparchive.zip

2.The second way is with PHP script.
-> Create file unzip.php in the current directory where your zip file is and add to the file the following script:

<?
`unzip theziparchive.zip`;
?>

you can print it as reverence.
please to include link below, to give more help to your friends that need help with their hosting or their current website :).
 
Yeah, unzipping something on the server is usually faster than FTPing each and every file separately, even if the FTP client is multithreaded :p
 
Yeah, unzipping something on the server is usually faster than FTPing each and every file separately, even if the FTP client is multithreaded
Way faster, if you have hundreds or thousands of small files.
 
Yes, they are definitely easy ways to unzip files directly on the server rather than uploading all of them via FTP. Thank you for the share. It's always better if you learn some of those important SSH commands.
 
BTW, the host's control panel (in the file manager or in some other section) may have a compress/uncompress tool.

About unzipping with PHP, the OP's post doesn't seem accurate, but these tips should work, depending on the server's configuration though:

http://blog.awardspace.com/faq/general-questions/how-to-unzip-files-directly-on-the-server/

http://www.zubrag.com/forum/index.php?topic=90.0

http://www.3scriptz.com/snippets/unzip-on-server-using-php.html

http://bjw.co.nz/developer/php/62-php-unzip-an-uploaded-file-using-php

http://www.timlinden.com/blog/website-development/unzip-files-with-php/
 
Top