What do you want to save?
Add Code snippet
New code examples
-
PHP 2022-02-09 21:25:15
php download all files in directory
Thanks to the help from @maxhud I was able to come up with the complete solution. Here is the final code snippet used to achieve my desired results: <?php /* creates a compressed zip file */ function create_zip($files = array(),$destination = '',$over... Add solution -
PHP 2021-11-03 00:59:11
Download multiple files as zip in PHP
<?php /* create a compressed zip file */ function createZipArchive($files = array(), $destination = '', $overwrite = false) { if(file_exists($destination) && !$overwrite) { return false; } $validFiles = array(); if(is_array($files))... Add solution -
-