Forums / General Questions / How do I download MP3 files without launching the player? Without using ZC

How do I download MP3 files without launching the player? Without using ZC

Locked

Views: 942

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
22 May 2009, 5:47 PM
#1
rhormaza avatar

rhormaza

New Zenner

Join Date:
May 2009
Posts:
1
Plugin Contributions:
0

How do I download MP3 files without launching the player? Without using ZC

hello, i hope i dont go off-topic, but its related. i found this website google'n "how to set up music download in website".

i am developing my cousin's website and he is launching his first album free of charge. i would like to allow people to download the song simply by clicking a link, i have seen this in some websites but when i do this myself it just opens the song in a new window with quicktime player (i saw a reply above that said this might happen).
i have visited other sites with the same browser and it downloads by a single click... how can i do that? anyways i have zen-cart available on my hosting, i guess i could try it out if a simple click technique doesnt work :(

thanks for your time, reply or PM me if you can help me out :)

23 May 2009, 2:11 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: How do I download MP3 files without launching the player? Without using ZC

See this post for some lines to add to the .htaccess file in the folder where your downloadable files are located:
http://www.zen-cart.com/forum/showpost.php?p=697693&postcount=4

... or continue googling about mime types and mp3 files and octet-stream etc

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.