Playing music files with php
Posted: Sat May 30, 2009 6:10 pm
Hello,
I'm trying to build a site that plays some music files that I have. The way I've been setting it up is creating a database with filepaths for the actual mp3 files, and then my idea was to query the database to select specific songs and then play them one at a time. I've gotten up to the part of querying and finding song filepaths, but now I'm completely lost. How can I use these filepaths (e.g. C:\Documents and Settings\songs ....) that i get with my php code and deliver them to an embedded music player? I'm not even sure how to embed the music player properly. I'm running a WAMP localhost server right now, can anybody offer some guidance?
Thanks!
I'm trying to build a site that plays some music files that I have. The way I've been setting it up is creating a database with filepaths for the actual mp3 files, and then my idea was to query the database to select specific songs and then play them one at a time. I've gotten up to the part of querying and finding song filepaths, but now I'm completely lost. How can I use these filepaths (e.g. C:\Documents and Settings\songs ....) that i get with my php code and deliver them to an embedded music player? I'm not even sure how to embed the music player properly. I'm running a WAMP localhost server right now, can anybody offer some guidance?
Thanks!