On an a couple MP3 files that are in a MySQL database, trying to play them simply shows the BLOB field contents. WAV files seem to play properly.
I am sending header info as:
These variables produce something like this:
Any ideas?
Don
Experienced in HTML, Perl, PHP, VBScript, PWS, IIS and Apache and MS-Access, MS-SQL, MySQL databases
I am sending header info as:
Code:
header("Mime-version: 1.1");
header("Content-Type: " . $MimeType);
header("Content-Length: " . strlen($AudioClip));
header("Content-Disposition: inline; filename= " . $SampleTitle);
print $AudioClip;
These variables produce something like this:
Code:
header("Mime-version: 1.1");
header("Content-Type: audio/mpeg");
header("Content-Length: 100000")
header("Content-Disposition: inline; filename=audiofile.mp3");
print $AudioClip;
Any ideas?
Don
Experienced in HTML, Perl, PHP, VBScript, PWS, IIS and Apache and MS-Access, MS-SQL, MySQL databases