Hi. I'm using the following code to stream mp3s:
header("Mime-version: 1.0");
header("Content-type: audio/x-mpegurl");
header("Content-Disposition: inline;filename=$file.m3u");
header("Cache-control: private");
header("Content-Transfer-Encoding: 7bit");
echo "$file.mp3\n";
exit();
I've just discovered that it doesn't work with Winamp for some reason. I get a '[/HTTP/1.1 400 Bad Request]' error. Why would it be working on other players - e.g. Windows Media Player and RealOne Player, and not Winamp? Can anyone tell me how to resolve this?