View Full Version : Link that would force download for music
06-10-2010, 01:26 PM
Hi is there a easy way to make a link download able if it's a link to a mp3 rather than opening it directly in some browsers, without using mime-types.
06-10-2010, 01:55 PM
You could add
AddType application/octet-stream .mp3 in your htaccess file to show the download prompt.
06-11-2010, 07:02 AM
Forcing File Downloads in PHP: http://elouai.com/force-download.php
Using PHP Headers to Force Download: http://www.ryboe.com/tutorials/php-headers-force-download
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.