note 16127 added to function.header
| From: | mmifsud at pageoneltd dot com | Date: | Wed, 17 Oct 2001 09:53:25 +0000 |
| Subject: | note 16127 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-19033@lists.php.net to get a copy of this message | ||
I have a design using php/mysql. In mysql database i stored multimedia files such as avi, mp3, as
blob types. How can I stream such files using headers maybe, through an internet browser. I have
available the binarydata, filename, filesize and filetype.
Till now with:
header("Content-type: $filetype");
the appropriate program is being lauched in the internet brower (IE) without playing anything as the
php file is being inserted in the appropriate program. What should I do?
--
http://www.php.net/manual/en/function.header.php
http://master.php.net/manage/user-notes.php?action=edit+16127
http://master.php.net/manage/user-notes.php?action=delete+16127
http://master.php.net/manage/user-notes.php?action=reject+16127