Hi,
Can anyone help me or point me in the direction of something that will...
I'm building a site which will have paid downloads.
I would like to ensure a file can only be downloaded once but at the same time make sure the download was successful before closing off the link
I've used websites which say the links die after a successful download so im guessing there is a way to check if a download was successful or not?
Cheers
Checking successful download
Moderator: General Moderators
Re: Checking successful download
Check the connection status - if it's not aborted, there is a good chance the download was successful.
Re: Checking successful download
Thanks, I will look in to it.
How do I know this code is running after the download is complete and not when the download has just started?
Cheers
How do I know this code is running after the download is complete and not when the download has just started?
Cheers
Re: Checking successful download
Check in the shutdown function of the script (obviously, first register one)