I have a script that is using the fpassthru function to pull files existing outside the public_html directory, allowing users to download these files.
I need to be able to somehow detect if the file was downloaded completely.
I tried putting a LOCATION header but that didn't work.
Any help would be appreciated. Thank you!