954,568 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

How store and download audio file in database?

Hello guys!

Anyone that has an idea on how to store audio files in any format in MySQL database and downloading them when clicked during the retrieval or display of the said audio file, please help me. I've been looking it in the internet but mostly just storing images and retrieving them from the database. No storing and downloading of audio files. If you have an idea please help or please do give me a copy of your code if you have.
Thanks a lot.

Cheers to everyone! :)

dudegio
Junior Poster in Training
66 posts since May 2007
Reputation Points: 10
Solved Threads: 0
 

It's better to store audio files in dir on your server and put path in MySQL field.


- Mitko Kostov

MitkOK
Junior Poster
142 posts since Jul 2007
Reputation Points: 59
Solved Threads: 12
 

you can use move_uploaded_file

flagbarton
Newbie Poster
10 posts since Aug 2007
Reputation Points: 10
Solved Threads: 0
 

Thanks for your response. I'll try to implement the said function. Thank you very much. If anyone does have a different idea please help. :)

dudegio
Junior Poster in Training
66 posts since May 2007
Reputation Points: 10
Solved Threads: 0
 

how to store music files in a database and retireve dem???

vinay1989
Newbie Poster
1 post since Oct 2009
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You