PHP Remote file streaming with Resume Support

前端 未结 3 1291
清酒与你
清酒与你 2020-12-07 23:53

Firstly, I am aware of similar question being asked before.

The subject pretty much explains the question but still,

the file is hosted on another server, th

3条回答
  •  我在风中等你
    2020-12-08 00:28

    If you're using PHP to serve the file, you have to implement all resuming logic yourself.

    You'll have to send Accept-Ranges and respond appropriately to Ranges.

    That's a chunk of work. It might be easier to use mod_proxy.

提交回复
热议问题