using PHP to remove the extension from a file and then downloading it

前端 未结 3 1679
我在风中等你
我在风中等你 2021-01-29 14:28

I recently had a asked a question very similar to this one, however after evaluating that I did not explain it in the best way I have come back once again explaining it in a gre

3条回答
  •  我在风中等你
    2021-01-29 15:01

    Usually when you set out to push a file for downloading from a serverside script, you do so by utilizing http headers like https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition The filename of the downloadable file is specified in that header

提交回复
热议问题