Page 1 of 1

PHP-generated realaudio file?

Posted: Mon Apr 19, 2004 1:06 pm
by jencarnac
I've checked around and it seems like PHP has the capability to generate a ram file, just by sending the realaudio header. However, when I test this code (below), I just get a browser page with "http://www.domain.com/this.ram" printed in it.

Am I doing something wrong? Does this require that I be streaming from a Real server?

<?
header("Content-type: audio/x-pn-realaudio");
print "http://www.domain.com/$fileName.ram";
?>

Thanks