How do I create a script that streams real audio (.rm) files which hides actual file location to prevent downloading.
Thanks
Stream Real Audio (.rm) Files?
Moderator: General Moderators
maybe it's a simple as
Code: Select all
header('Content-type: audio/x-pn-realaudio');
header( ... );
readfile($theAudioFile);Thanks man!volka wrote:maybe it's a simple asCode: Select all
header('Content-type: audio/x-pn-realaudio'); header( ... ); readfile($theAudioFile);
You're a life saver!
I only needed this:
Code: Select all
<?php
header('Content-type: audio/x-pn-realaudio');
readfile(Test.rm);
?>