note 10587 deleted from function.header by jimw
| From: | jimw@php.net | Date: | Wed, 31 Oct 2001 21:46:42 +0000 |
| Subject: | note 10587 deleted from function.header by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19757@lists.php.net to get a copy of this message | ||
While trying to get php to generate real media pointer files dynamicly, I found that IE doesn't
like the caching lines in the header. It seems that you need to override the php default with the
header function. See the example code below:
<?
# Sample code that starts realplayer
# with file names from a DB.
Header ("Pragma: ");
Header ("Cache-Control: ");
Header ("Expires: ");
Header ("Content-Type: audio/x-pn-realaudio");
# insert DB code here
print "rtsp://host.com:554/$filename";
?>
I hope this saves someone some time!
schu