Hi. If I host a .mpg file for someone to download, when they click, it will auto-play. How do I make it so that instead of playing, a window will pop up asking them for download? Also, I'm pretty sure this question doesn't belong here. Is there some other place I should put this or some other forum I should be asking at? Thanks.
But since it's an .mpg, if they click it and they have quicktime, it will just play within their browser. I don't want that to happen.
I know how to download the file. But when OTHERS click on it, I want the dialog box to pop up where they are asked whether to open or save. Because if they click, it will automatically go to an embed. And if I tell them to right click and save target as, chances are they won't listen.
May be you wanna check out the article here: _http://www.sometricks.com/2006/04/23/download-pdf-jpg-gif-directly-from-the-web-browser/
You need a server side script to force the download. You can do this easily with PHP. You have to send some specific headers, and then read and output the file with PHP. www.php.net/header There are a lot of examples...