Reputation: 65
I am trying to build an mp3 player through PHP. So far I made it like this: http://dataonrequest.com/mp3player/
Now I want to make it in a way to play local files. Instead of getting the directory list from your host folders, I want it to get the dir from a local chosen Folder and build up the library with php just like my online example. e.g. (C:\Music)
Upvotes: 0
Views: 1073
Reputation: 3235
You want to look at Javascript and something like jQuery and jPlayer (http://jplayer.org/) and jQuery.twFile.
Though if I found a website that was automatically reading my local file system and I'd get really, really upset. And it's not a great idea to just setup file browsing on your server for anything to break into.
Upvotes: 2