Page 1 of 1

Download Files Using Mp3

Posted: Thu Jul 05, 2007 5:32 am
by sarbas
Hi folks,


i am upload the mp3 files into one folder in the database using php coding, and it will work. but i don't know how to download the mp3 files from the folder. i already searched in the google. but i am not get any idea about from there. please help me, if anybody know the answer.

thank [s]u[/s] you
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:11. Please use proper, complete spelling when posting in the forums. AOL Speak, leet speak and other abbreviated wording can confuse those that are trying to help you (or those that you are trying to help). Please keep in mind that there are many people from many countries that use our forums to read, post and learn. They do not always speak English as well as some of us, nor do they know these aberrant abbreviations. Therefore, use as few abbreviations as possible, especially when using such simple words.

Some examples of what not to do are ne1, any1 (anyone); u (you); ur (your or you're); 2 (to too); prolly (probably); afaik (as far as I know); etc.

Posted: Thu Jul 05, 2007 5:44 am
by onion2k
What do you mean by "a folder in the database"?

Download Files Using Mp3

Posted: Thu Jul 05, 2007 6:31 am
by sarbas
hi folks,

folder in database means, create one folder in the server and store the files in that folder.

Posted: Thu Jul 05, 2007 7:02 am
by volka
might be as simple as

Code: Select all

<a href="path/to/file.mp3">file.mp3</a>

Posted: Thu Jul 05, 2007 7:04 am
by Gente
Another case if you don't want to allow direct access to your files :)
Then you have to read this topic - viewtopic.php?t=69943

Download Files Using Mp3

Posted: Thu Jul 05, 2007 8:18 am
by sarbas
hi folks,

thanks for given that coding. i used that coding it will work. in that same time i want to change the name of the file when i click the link. how is it possible. or tell me any other way to download the file after downloading it will change the filename automatically.using any random number.

Posted: Thu Jul 05, 2007 10:38 am
by superdezign
A filename is a filename. It's up to the user if they'd like to change it.