Reputation: 2103
I'm trying to create odt file of the files:
using ZipArchive. How I will be able to reproduce this linux command
zip -r ../zip.odt mimetype *
using ZipArchive in php in Windows?
Upvotes: 1
Views: 288
Reputation: 31471
Use the PHP exec
command to run arbitrary code.
exec("zip -r ../zip.odt mimetype *");
Upvotes: 2