How to add files to newly created folder in ziparchive using php?

前端 未结 2 1698
小蘑菇
小蘑菇 2021-01-16 11:35

\"enter

As in the image above ,I have images that are organized in virtual folders(in

2条回答
  •  情歌与酒
    2021-01-16 11:57

    If the "files" you want to add to your zip directory are stored in a db as strings, you could use ZipArchive::addFromString. If the db stores pointers to actual files use ZipArchive::addFile

提交回复
热议问题