Re: dynamic RAM file for real media
| From: | John W. Holmes | Date: | Thu, 05 Aug 2004 15:41:47 +0000 |
| Subject: | Re: dynamic RAM file for real media | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192908@lists.php.net to get a copy of this message | ||
From: "Daniel Guerrier" <dan_guerrier@yahoo.com>
> I am using PHP to dynamically create real audio links.
> The question is I was creating one .ram file for each
> real media file that I wanted to stream. The .ram
> files need to have absolute urls (which I do not
> like). I saw a few sites that use one .ram file but
> pass it a variable http://url.ram?id=555.
Never done it, but I'd guess that the server would be set up for PHP to
parse .ram requests (at least in this directory). Then, from within PHP
you'd grab the $id value, locate the appropriate real audio file, send the
appropriate headers and then readfile() the audio file.
---John Holmes...