Is it possible to get the html for that...![]()
I want to post music, video...etc for people to download from me and save it into their computer.
Is it possible to get the html for that...![]()
I want to post music, video...etc for people to download from me and save it into their computer.
You can't do it automatically... definitely not. (Downloading without their consent.)
But, you can suggest it. Just put "right click, save as" next to the link.
Using, I believe, .htaccess, you can specify outputting certain files as download only and using PHP you can output a file (fairly easily) and use a header for download. Internet Explorer can ignore this, though.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
And your server has to be set up for .htaccess, and might have a different file configuration name.
- Mike
I don't really understand sorry
I don't wanna download from other people, I want to let people download files from me
is it possible...![]()
if you wanna do that put it into a zip file or a .wav and use the <a href="sound.wav">Download Music</a> and if you want ot put the music on ur site to <embed src="sound.wav"></embed>
The ZIP is a very good idea. Most default configurations will either save a ZIP or open it, displaying the files inside, which will suit your purpose.
WAVs, however, are a very poor idea for distrubution over the Internet, due to sheer filesize. Stick your music in a ZIP as well.
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Links to music often try to play the music before downloading, same with images.
- Mike
{CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
Follow Me on Twitter: @InkingHubris
PHP Code:$result = mysql_query("SELECT finger FROM hand WHERE id=3");
echo $result;
Very annoying. I tryed to set up a page for music downloads and failed first attempt - for one, I have QT installed, and it would play instead - two, it would be unreliable, meaning some people might be able to download it, some being forced to play it.
- Mike
Another option is to make a text link to the sound and add the "right-click on the link and save as.." instructions, but with a lot of sound files that may become a burden.
{CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
Follow Me on Twitter: @InkingHubris
PHP Code:$result = mysql_query("SELECT finger FROM hand WHERE id=3");
echo $result;
Bookmarks