Hi all..
well i got the wav files from the mysql database and can get them to play in
a web page using the following code:
************
IF ($row = mysql_fetch_array($result)) {
$data = $row["wavFile"];
$name = $row["wav FileName"];
$size = $row["wav FileSize"];
$type = $row["wav FileType"];
header("Content-type: $type");
header("Content-length: $size");
/header("Content-Disposition: attachment; filename=$name");
header("Content-Description: PHP Generated Data");
echo $data;
*************
BUt the problem I am having is that this code gives me a blank age with a
Quicktime control bar in the middle of it. The wav file plays fine. Any
other htm underneath this php script is ignored.
How can i get the (html) code following this to be output to the webpage????
All my tags seem correct (ie the <?PHP and ?> tags etc are done correctly).
Any help is greatly appreciated
Cheers,
Brad
Nel vino la verit�, nella birra la forza, nell'acqua i bacilli
--------------------------------------------------------------------------
In wine there is truth, in beer there is strenght, in water there are
bacteria
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php