Hiya ive finally completed the login and registration forms for my online music video library site. I just want to know what would be the best way to store the mp3 files in the database and how i would go on about it so the user logged in can view the tracks and listen to them.

The best way to do it would be to store the mp3's on the filesystem, and store information about the file along with it's path in the database.

But if you really want to store the mp3 files in the database, look up articles on storing images in a database. You will use the same methods but replace a the image with a mp3 file.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.