genu Posted May 4, 2008 Share Posted May 4, 2008 is there a way to make an <a href="mp3 url">Download</a> that opens up the download dialog rather than the default player which plays it automatically? Quote Link to comment Share on other sites More sharing options...
AndyB Posted May 4, 2008 Share Posted May 4, 2008 only if your users know - or are told - to right click the link to see browser options Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted May 7, 2008 Share Posted May 7, 2008 http://elouai.com/force-download.php a golden oldie - there are probably better scripts out there but this is the first in the list from google... Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted May 8, 2008 Share Posted May 8, 2008 make an .htaccess file, and add this: This will force all mp3 downloads, no matter how you access it. <FilesMatch "\.(mp3)$"> ForceType application/octet-stream </FilesMatch> if you want more than just mp3, just change (mp3) to something like this: (mp3|wma|ogg) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.