How to download multiple files at once in php, not package download, not package download, not package download
█.·〢習慣
█.·〢習慣 2019-04-16 10:01:19
0
4
1380
After checking a lot of information, it says that http only allows one file to be downloaded at a time. Is this true? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
█.·〢習慣
█.·〢習慣

reply all (3)
秋香姐家的小书童

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

    █.·〢習慣

    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?

      欧阳克

      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.

        Latest Downloads
        More>
        Web Effects
        Website Source Code
        Website Materials
        Front End Template
        About us Disclaimer Sitemap
        php.cn:Public welfare online PHP training,Help PHP learners grow quickly!