note 13403 added to function.header.php
| From: | tree at lightbulb dot com | Date: | Thu, 14 Jun 2001 23:05:30 +0000 |
| Subject: | note 13403 added to function.header.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14389@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();
?>
http://www.php.net/manual/en/function.header.php