views:

115

answers:

1

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, the user will download file via my script, streamed to him...

But the problem is user can't resume it once paused...any solutions?

A: 

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.

porneL