Zip the folder with Sub folders using PHP
Zip the folder with Sub folders using PHP. You can zip a whole folder using the this article. But if you want to zip the folder with sub folders, Use this article and create zip with whole folder and sub folders. Lets start with Zip creation. zipFile('path/to/the/zip/folder','kv_zip.zip', true); And now, we need to use a function for recursive call so create a function here. function ...