How do you initiate/force a download for files that reside externally in PHP or other language?
Posted
by Cory
on Stack Overflow
See other posts from Stack Overflow
or by Cory
Published on 2010-03-15T18:02:08Z
Indexed on
2010/03/15
18:09 UTC
Read the original article
Hit count: 206
If you have images or other files that reside externally, how do force the browser to download the link when a user click on it?
The use of "Content-disposition: attachment;" header would do that, but it is not working for files that resides externally without reading and importing the file locally.
© Stack Overflow or respective owner