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
[EMAIL PROTECTED] - 07903 067339
Webmaster: http://www.randumian.co.uk
Webmaster: http://www.danceportal.co.uk
--
Jim Musil
-
Multimedia Programmer
Nettmedia
-
212-629-0004
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]