i want to setup music to play from the web like the ones u click the play button on. the music is located in a folder called /music and its locked so no one can download the file or such so i want the file pulled through the php file and played in that php file. any advice or way to do this? also would like to enable a search by author or name feature if i can or have a player that does. i run google chrome which plays the songs when clicked on im not worried about a embeded player if it wont work with the directory locked but i really would like a embeded one if possible. link to site is music.platinum-browser.tk test test for username and password if u want to see how it is. just after logining in go to /test.php instead of members. this is for personal use just dont want people downloading my music

well .. someone correct me if I am wrong .. once you give access to the files .. they are fair game for downloading. Unless .. I'm php lame .. but if they were in the DB as I think blobs? .. Mario .. help?

yea sorta since im the only user im not worried of that. how it was the folder /music/music had links and only way to protect it was with htaccess. im trying to move away from that log in to php logins but the only way to do that is to deny all to /music/music and have a login system in /music that will get the music from /music/music if not log in then they cant get it. but im stuck on how to make it were i can play music from the members area

well .. someone correct me if I am wrong .. once you give access to the files .. they are fair game for downloading. Unless .. I'm php lame .. but if they were in the DB as I think blobs? .. Mario .. help?

Don't save that into the DB. At leat I am not a fan of blobs in a DB. Makes it large and lame. The file system is much better.
it is possible to have that files outside of the httpd document root. Than access it via PHP and deliver it to the client.

I thought your already existing list creates that list and you create link in the href to a page with that script and you download it or what ever do with it. You wrote that you wanted a script that pull the mp3 from the folder outside of your document root.

or with that script I gave you, you can put it as source (src) in the embedded player.