hey-

my main goal here is to be able to stream an mp3 through any player that can accept 
m3u files. My idea was to use the format of an m3u file, which looks like this:

#EXTM3U
#EXTINF:324,cs-1.mp3
http://www.fplg.net/audio/cs-1.mp3

and pack it into a variable to be sent out using a header command...as such:

$buffer = "#EXTM3U\n";
$buffer .= "#EXTINF:-1,cs-1.mp3\n";
$buffer .= http://www.fplg.net/audio/cs-1.mp3;

I'm not sure of the exact header command I should use, or rather the format of the 
command I'd send using the header function, but is this possible or do I need to do 
this some other way??

chris

Reply via email to