duanqin4238 2017-06-22 13:18
浏览 42
已采纳

创建包含动态生成的文件的ZIP文件

I am working on a web app that asks a series of questions and then generates a text document from those questions. The document is created and a download is automatically triggered on the clients browser.That works perfectly.

However, what I would like to do now is create a ZIP file from this file when it is created on the fly and add some additional files also. Though I cannot figure out if this is possible with PHP?

Can anyone advise? I have looked around, but all examples/tutorials demonstrate creating ZIP files from files that already exist in the file system?

Thanks.

  • 写回答

1条回答

      报告相同问题?

      相关推荐 更多相似问题

      悬赏问题

      • ¥30 如何用matlab表达以下公式?
      • ¥15 在arm架构芯片上基于32位linux操作系统做内存检查
      • ¥15 怎么样才能禁止VS自动调整Windows窗体布局
      • ¥15 mysql5.7.40安装到Initializing database报错,如何解决?
      • ¥30 如何降低hdfs中datanode的JVM内存用量
      • ¥15 Android URL如何转成视频/音频,可行吗?
      • ¥20 Hive SQL数据查询,子查询
      • ¥15 c++字符串分割问题
      • ¥15 vue+uniapp
      • ¥15 android freedom