Advanced Search

Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: download files into their computer

  1. #1
    Join Date
    Jan 2007
    Location
    Canada
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question download files 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.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,154
    Thanks
    260
    Thanked 690 Times in 678 Posts

    Default

    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

  3. #3
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    And your server has to be set up for .htaccess, and might have a different file configuration name.
    - Mike

  4. #4
    Join Date
    Jan 2007
    Location
    Canada
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question download for other people

    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...

  5. #5
    Join Date
    Dec 2006
    Location
    In my home
    Posts
    69
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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>

  6. #6
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,878
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    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!

  7. #7
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    Links to music often try to play the music before downloading, same with images.
    - Mike

  8. #8
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,486
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Quote Originally Posted by mburt View Post
    Links to music often try to play the music before downloading, same with images.
    Specially if visitor has QT installed and set as default browser use for sound files. It's quite annoying really.
    {CWoT - Riddle } {OSTU - Psycho} {Invasion - Team}
    Follow Me on Twitter: @Negative_Chaos
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

  9. #9
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    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

  10. #10
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,486
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    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 } {OSTU - Psycho} {Invasion - Team}
    Follow Me on Twitter: @Negative_Chaos
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •