search

Home  >  Q&A  >  body text

PHP reads a file stream containing multiple files, how to download it

php reads the file stream of multiple files stored in the third-party interface, how to download

迷茫迷茫2736 days ago962

reply all(1)I'll reply

  • 过去多啦不再A梦

    过去多啦不再A梦2017-06-26 10:51:10

    Although I have not done anything in this area, but you invited me to answer, then I will briefly talk about my own ideas. I don't know what the file stream provided by the third party looks like. It should be a string of strings and contain the names of many files. So you have to process the string first and then save the name of each file into an array. The next step is to loop through the array that stores the file name and download the file using the PHP file download function.
    This is the reference link to download the file: http://www.jb51.net/article/4...

    reply
    0
  • Cancelreply