Thread: html link question about linking to files for download

  1. #1
    Unregistered Leeman_s's Avatar
    Join Date
    Oct 2001
    Posts
    753

    html link question about linking to files for download

    Ok, here's my question:

    I made this php script that lives in a directory called music. Inside the music directory are a bunch of directories organized by artist. Inside those are folders for albums, and mp3 files.

    For the link, I do a printf() in php and put some html in there for the link. But when you click on a link to an mp3 file, it wants to automatically open up in windows media player. To actually download and save it somewhere, you have to right click it and say 'Save Target As...' but I want it to automatically be saved when you normal click it.

    Is this something that has to be changed on the server side or the....user side?

  2. #2
    Registered User
    Join Date
    Dec 2003
    Posts
    101
    User side (I think), for an exe(or rom) simply a href = ".../name.gba>
    .. No.. Bad Leeman, get that site down this instant and go to the recycling ben. You'v ben a bad boy Leeman, no root acounts for you anymore mr.
    --

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linking header files, Source files and main program(Accel. C++)
    By Daniel Primed in forum C++ Programming
    Replies: 3
    Last Post: 01-17-2006, 11:46 AM
  2. Question About External Files (Beginner)
    By jamez05 in forum C Programming
    Replies: 0
    Last Post: 08-11-2005, 07:05 AM
  3. Linking 3 files in Borland C 3.11
    By Brain Damage in forum C++ Programming
    Replies: 5
    Last Post: 05-29-2005, 02:53 AM
  4. Linking C files (Unix)
    By f97tosc in forum C Programming
    Replies: 3
    Last Post: 03-23-2003, 05:36 PM
  5. Linking multiple .c/pp files together
    By Enstavv in forum Game Programming
    Replies: 1
    Last Post: 10-29-2001, 10:14 PM