Re: RealMedia
| From: | Jim | Date: | Mon, 03 Dec 2001 17:07:01 +0000 |
| Subject: | Re: RealMedia | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-76394@lists.php.net to get a copy of this message | ||
This must be the first output of your script.
header ("Content-type: audio/x-pn-realaudio");
and then your output should be in .ram file output.
Is this what you are asking?
Hi guys, I want to write a script that inputs a file variable then it sends out a RealMedia header so that it sends the file location to RealPlayer. EG: If I click on http://www.randumian.co.uk/getsample.php?file=1234.rm, it should send the headers so that the computer thinks its a .rpm file then send me to http://www.randumian.co.uk/realaudio/1234.rm. Can anybody advise me on what to do please? Randum Ian DJ / Producer / Web Designer randumian@hotmail.com - 07903 067339 Webmaster: http://www.randumian.co.uk Webmaster: http://www.danceportal.co.uk-- Jim Musil --------- Multimedia Programmer Nettmedia ------------- 212-629-0004 jim@nettmedia.com