Detect if Download is Complete

后端 未结 1 766
日久生厌
日久生厌 2020-12-19 16:04

I have a very simple and standard PHP force download script.

How do I check if/when the download has completed in order to notify the user on the clientside? I don\

相关标签:
1条回答
  • 2020-12-19 16:38

    Check out this Sitepoint Forum Post that describes the solution.

    Basically, once the while loop breaks, you're done!

    Here's the full thread that describes using an AJAX poll to detect when the download is complete: http://www.sitepoint.com/forums/showthread.php?t=618233

    0 讨论(0)
提交回复
热议问题