[Icecast] ICECast in Flash / IEWin

HJ inzanekaoz at yahoo.com
Tue Nov 2 03:35:02 UTC 2004


Not to nit-pick too much, but consider fpassthru() instead of that
ugly-looking loop?

http://us2.php.net/manual/en/function.fpassthru.php

~

> $fp=fopen("http://www.myradio.com:8000/mountpoint.mp3","r");
> while(!feof($fp)) print($line=fread($fp,2000)); 
> fclose($fp);
> ?>





More information about the Icecast mailing list