Create single ZIP from multiple folders and files - PHP
$10-30 USD
Completed
Posted over 9 years ago
$10-30 USD
Paid on delivery
I need a simple script where I can define the folders and files myself like:
$folder1 = "path/bla"
$folder2 = "path/bla2"
$folder3 = "path/bla3"
$folder4 = "path/bla4"
$file1 = "path/[login to view URL]"
$file2 = "path/subfolder/[login to view URL]"
Now the script should automatically create a zip file at the moment the PHP page is loaded.
Hi,
I can do this for you. I Can develop a script that run when a page is loaded. If you want we have provide a pedefined File and Folder list.
Or we can get it when the page runs.
Thanks and Regards
Pankaj
$25 USD in 2 days
4.2 (1 review)
0.4
0.4
6 freelancers are bidding on average $49 USD for this job
Hello Sir,
I'm 5 years experience in PHP and I'm interested in this job.
Looking forward to hear from You.
Thanks,
NOTE:- PLEASE DON'T AWARD ME BEFORE DISCUSSION
Hi,
I can have the script ready for you before the end of today.
I've checked the PHP documentation and you just need to make sure that your PHP installation has the zip extension enabled.
Regards,
Anthony.
This will be very easy to do. Once the files are specified they can be added to a ZipArchive. For folders using a recursive method to add the files and sub-folders wither their files to the ZipArchive object. I could build this for you and deliver a script where all you would need to do is add the file paths to an array and folder paths to a different array.