actually I can just compare it to the time now, and more than 30 minutes delete it!
sounds good, thanks so much for your help!...
User Profile
Collapse
-
So would the following work, I think its similar to what you were explaining before,
if someone clicks on a link a download script will copy the file from its source directory into a temporary directory with some temp filename and then serve that file to the user, not in the way I am serving it now with the headers and content but just by redirecting them to that file eg http://www.url.com/tempdir/tempfilename.mp 3
Would that work? or...Leave a comment:
-
I am sorry, I am still not clear. Why do I need to be generating files at all? in fact what does it mean to be generating files?
I am using a download.php?fi d=24 where the fid is the fileid in the database so it knows which file to pull. I just dont know why when I output the file to browser it wont allow the user to download a different file. If the user clicks a different file then only once the first download completes does the second window...Leave a comment:
-
Thanks for your help
Even though I am outputting it to the browser, I am doing this in a new window. Why shoudl this stop the user from being able to click on another link in the original window to initiate a new download?
What does this mean?
"display obfuscated for the download."
Thanks againLeave a comment:
-
Script to download files only allows 1 download at a time?
Hi,
I have a script which based on an id passed to the page is retrieving a filename and path from the database of a file and then outputting the file for download. I specifically did it this way (see the code below) so user would have a choice of "Saving" or "Running" the file.
The problem is that with this method when a file is clicked for download the user cant then select another file to download. It seems like...
No activity results to display
Show More
Leave a comment: