search

Home  >  Q&A  >  body text

How to download multiple files at once in php, not package download, not package download, not package download

After checking a lot of information, it says that http only allows one file to be downloaded at a time. Is this true? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
█.·〢習慣█.·〢習慣2078 days ago1465

reply all(4)I'll reply

  • 秋香姐家的小书童

    秋香姐家的小书童2019-04-17 08:30:19

    You can use the header method to output multiple files

    If you don’t know how to use it, you can use JS to refresh the page to download multiple files

    reply
    0
  • █.·〢習慣

    █.·〢習慣2019-04-16 16:12:58

    This is the APP interface. When the user clicks the download all button, how does the php background output all the streams of the selected files?

    reply
    0
  • 查无此人

    查无此人2019-04-16 14:22:28

    You are saying that only one file can be downloaded per connection. You can click the download button once, and the code will automatically connect multiple times to download multiple files.

    reply
    0
  • Cancelreply