Reply to How to download MP3 and not play

Your name:

Reply:


Posted by nospam on 11/17/07 03:10

Hello,

I want to create a hyperlink to let users download MP3's when they click.
The default behavior is to play. I know they can right-click and save as,
but I don't want to have to tell them that. I also have a MP3 player already
playing on the page.

One googled solution was to zip the file so when the user clicks the zip
file,
the browser would do a open/save as dialog. This almost works - but
the user has to download the zip and then extract the file. I would also
have
to have a "zip" file for each and every MP3 file. Seems a bit bloated...

I want to be able to download the file on click and bypass the play option
that the browser/user may have installed. I played around with the 'type'
attribute but no luck----

<a type="zip" href="peoplegetready.mp3" target="_blank">people get ready</a>

I don't want to do FTP and expose user/passwords, etc.

Anyone do anything similar like this?

Thanks in advance.

Regards,
bruce

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация