php: zip many files, how best method ?

by 2 replies
3
I use glob for search files by filter and want to zip files to archive.zip + keep structure folders.

1. use pclzip library
2. use shell_exec + zip , but I can not understand how to write command line for zip

thanks
#programming #files #method #php #zip

Next Topics on Trending Feed