I have a text file that contains the path to multiple files in the server, 1 file per line, is there a way to read those lines and create a zip from em?
Thanks in advance.
PHP has functions for creating zips.
Here is a simple example: http://davidwalsh.name/create-zip-php
You'll need to read the file names, put them into a list, and use the function in the example.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.