| | #1 |
| Warrior Member Join Date: 2009
Posts: 13
Thanks: 1
Thanked 1 Time in 1 Post
|
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 |
|
net worker
| |
| |
| | #2 |
| Advanced Warrior War Room Member Join Date: 2004 Location: Perth, Australia.
Posts: 724
Thanks: 6
Thanked 184 Times in 136 Posts
| |
| |
| | #3 |
| Warrior Member Join Date: 2009
Posts: 13
Thanks: 1
Thanked 1 Time in 1 Post
|
thanks, nice and simply method, i already do it as shell_exec('zip archive.zip /home/...../filname');
|
|
net worker
| |
| |
|
| Bookmarks |
| Tags |
| files, method, php, zip |
| |