force MP3 to download instead of playing

I'd really like to know how you force the MP3 files to download instead of playing in the browser.



guy's picture
u need a php snippet,

u need a php snippet, javascript or something along those lines to do that.
just google "force donwload php snippet" or something similar and you'll find lots of ready and free scripts out there to do this.
cheers
guy



Yes, I do make web pages and

Yes, I do make web pages and was trying to find a way to force a file to download when the link is clicked on instead of having to say, "Right-mouse click and then select 'Save Target As..'" which works but is not as slick as a simple click like you guys have got here with your audio clips.



I 'll have to ask our coder

I 'll have to ask our coder about that. But it shouldn't be something complex!

Do you make web pages?

Tasos



Yes, I did click on them.

Yes, I did click on them. The file downloaded just fine. I'm just wondering how that's done. Everytime I make a link to an MP3 file when I click on the link the MP3 begins to play. I'd like to find a way to make it download like they've done here. That's really cool!



Hi Tomroth and Welcome! Did

Hi Tomroth and Welcome!

Did you actually click on the mp3 icon? You can download it the same way you download the aifs and wavs.

Does that help?

T