Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Prompting for save
February 10, 2009, 2:34 am
rate this thread
instead of played.
Content-Disposition: attachment; filename=some_song_name.mp3
I had been printing this on the following line:
Now, all this works for me in IE (isn't it always IE), but some IE
customers (probably IE7) wind up having the song played instead of
prompted for save. One customer says he doesn't have this issue on
Amazon and iTunes. What does Amazon and iTunes know that I don't and
what can I do to improve the odds of getting it "right"?
Re: Prompting for save
Send it as application/octet-stream instead of specifying it as audio.
That way, IE (and other browsers) will usually treat it as a
downloadable file rather than trying to open it directly.
A Miscellany Of Good Stuff:
- » Freelance Job: Help us recruit website owners seeking 'online' ad revenue
- — Next thread in » Webmaster Forum