Posted by Sanders Kaufman on 01/17/07 02:29
Arjen wrote:
> Sanders Kaufman schreef:
>> Have the Download.php file delete, move or rename the file.
>> Then the message will have the added virtue of being true.
>
> Not a good idea on a busy website
Why? That seems nice and QUICK.
> Create a unique download id and match it against your stored(allowed) id's
> link to the file download.php?id=<my_dl_id>
Gosh, that seems like an awful lot more processing power than
just a simple delete.
> use fpassthru('/files/file.exe');
> to send the file
IS fpassthru an undocumented feature or something?
I can't find anything about it.
Navigation:
[Reply to this message]
|