When you have limited access to client’s server (for example FTP only), then it becomes really difficult to download and upload multiple files/folders. It might take several hours to download/upload a full fledged Drupal or Laravel website with Filezilla if files are not compressed into zip folder.
To overcome this problem and to save developer’s time we have a script which is capable of Zip and Unzip files using PHP code.
You just need to upload the “unzipper.php” file to root of your folder and hit https://yourdomain.com/unzipper.php .

One reply on “Zip/Unzip using PHP Script”
[…] Create a ZIP of whole website on your source server. (From where you want to migrate). Don’t worry if you don’t have cpanel access for creating zip. View this article to create zip file using PHP Script. Click here: Create ZIP file using PHP script […]