note 13403 deleted from function.header by jimw
| From: | jimw@php.net | Date: | Wed, 31 Oct 2001 22:03:56 +0000 |
| Subject: | note 13403 deleted from function.header by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19788@lists.php.net to get a copy of this message | ||
I am trying to dynamically generate quicktime moives using php scritp. So far I am experiencing
problems with the headers. I got the script to works on netscape by not on IE5.5. All I get on IE
are HexCode like text.
Here are my code so far.
-----------------------------------
<?php
$file = "Sample.mov";
header ("Cache-Control: no-cache, must-revalidate");
header ("Pragma: no-cache");
header("Content-type: video/quicktime");
header("Content-Transfer-Encoding: binary");
$fn=fopen($file , "r");
fpassthru($fn);
flush();
?>