Quote:
Originally Posted by ???`S?LV?R???`
Why does it show the source of the download when I set it to a remote site? (it doesn't show when the file is stored on the local website though)? And is there any way to fix this?
|
I need a bit more information - what type of file/do you have a mimetype set up for that type on your board admincp/have you set the links admin to use force_redirect?
Basically, this hack provides two ways of accessing downloads.
Either
- the file has a recognised mimetype and (you are running version 1.30 or less) or (you are running version 1.35 and force_redirect=0 on your admin page)
or
- one of those conditions does not apply.
In the first case, the download is handled on the server by successively reading then rewriting chuncks of data to the user.
In the second case, the download is handled by telling the client browser to redirect to the file.
The first hides the source, the second does not (and cannot).