Jump to content

Recommended Posts

Hi

 

I am working on a record company's site.  They offer a selection of track snippets for stream/download.  I would like to be able to dynamically generate the RAM (text File) to save manual input in the DB. 

 

Currently each RAM file has to be uploaded everytime a new track is added....but I'd like to have this created on the fly when a user is browsing the site.

 

user selects track...is forwarded to the dynamically generated RAM file...which in turn selects the appropriate media.

 

I can't think how i'd get this to work as I am trying to create a text file that is parsed rather than a peice of HTML that is read by a user.  Perhaps on the server I'd have to add PHP Parsing to the RAM mime type?

 

Any thoughts appreciated.

 

Will

i know have this...but its creating a general error when trying to open up real player....any ideas?

 

<?

 

$track=$_GET['track'];

header('Content-type: audio/x-pn-realaudio');

header("Content-Disposition: inline; filename=".$track.".ram");

 

print "http://www.mysite.co.uk/assets/media/".$track."rm";

 

?>

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.