i am uploading audio to a db and reproducing it whith an embed php file whith a mime type content type
so far i hav been able to work with wma files fine. i can reproduce them with embed and my script using the audio basic mime type.
i need to work with wav files, the problem is i tred all the wav mime types like audio/wav, audio/x-wav and all that but what happens is my empeded player comes up on the page but has no sound the data is comming throgh i am sure i can print it.
here is the embeded file im using
<?php header("Content-type: audio/x-wav"); include("db_con.php"); $sql = "SELECT audio FROM audio WHERE id='".$_GET["id"]."';"; $result = mysql_query($sql, $conn); $row = mysql_fetch_array($result); $audio = $row["audio"]; echo $audio; ?>
it goes in to the <embed src=get_audio.php?id=21> etc.
so it works with wma files but wav files seem to just produce an embeded player with no sound.
thanx for any help