Web Hosting News, Web Hosting Tips, Web Hosting Tutorials and FAQ by AwardSpace.com
AwardSpace Blog » Page 'How to unzip files directly on the Server?'

How to unzip files directly on the Server?

Answer: 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:

<?
exec(”unzip theziparchive.zip”);
?>

Comments are closed.

Top of page / Subscribe to new Entries (RSS)