/    Sign up×
Community /Pin to ProfileBookmark

how to stream audio files stored in a database?

Hi there,

I already posted this on some other forums and I just can’t work it out. So any information would be very much appreciated.

How can you play audio files stored in a database (Mysql – blob fields) in an internet browser ?

I’m trying to play the files by restricting the users from downloading the files. I just want them only to be able to listen to the files. That is, I don’t want them to be able to point their browsers to the files and download it. Therefore, I don’t want to use files stored on a web server.

Thanks

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@casawi79Oct 22.2004 — I'm having the same issue and i can't find the solution
Copy linkTweet thisAlerts:
@atomauthorOct 23.2004 — I did some research and the only solution I could find is to set up a Java applet and build your own player.

http://java.sun.com/products/java-media/jmf/index.jsp

I still don't know for sure whether the applet caches the audio files on the local system.
×

Success!

Help @atom spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.4,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...