Hi leute, also ich habe vor nen Relay fuer nen Shoutcast stream zu machen, ich hab das soweit hinbekommen, nur der wiedholt immer die daten hier der code:
Hier der fehler den ich sehe:
weiß jemand ne Lösung?
PHP-Code:
<?
$socket = fsockopen("213.202.215.24", 8000);
fputs($socket, "GET / HTTP/1.1\r\nUser-Agent: WinampMPEG/5.0\r\n\r\n");
while(!feof($socket)) {
$data .= fgets($socket, 1024);
}
?>
CY 200 OK ICY 200 OK icy-notice1:
This stream requires Winamp
ICY 200 OK icy-notice1:
This stream requires Winamp
icy-notice2:SHOUTcast Distributed Network Audio Server/Linux v1.9.2
ICY 200 OK icy-notice1:
This stream requires Winamp
icy-notice2:SHOUTcast Distributed Network Audio Server/Linux v1.9.2
icy-name:United-Radio: adonis is sponsort by NGZ ICY 200 OK icy-notice1:
This stream requires Winamp
icy-notice2:SHOUTcast Distributed Network Audio Server/Linux v1.9.2
icy-name:United-Radio: adonis is sponsort by NGZ icy-genre:alles ICY 200 OK icy-notice1:
This stream requires Winamp
icy-notice2:SHOUTcast Distributed Network Audio Server/Linux v1.9.2
icy-name:United-Radio: adonis is sponsort by NGZ icy-genre:alles icy-url:www.united-radio.de ICY 200 OK icy-notice1:
This stream requires Winamp
ICY 200 OK icy-notice1:
This stream requires Winamp
icy-notice2:SHOUTcast Distributed Network Audio Server/Linux v1.9.2
ICY 200 OK icy-notice1:
This stream requires Winamp
icy-notice2:SHOUTcast Distributed Network Audio Server/Linux v1.9.2
icy-name:United-Radio: adonis is sponsort by NGZ ICY 200 OK icy-notice1:
This stream requires Winamp
icy-notice2:SHOUTcast Distributed Network Audio Server/Linux v1.9.2
icy-name:United-Radio: adonis is sponsort by NGZ icy-genre:alles ICY 200 OK icy-notice1:
This stream requires Winamp
icy-notice2:SHOUTcast Distributed Network Audio Server/Linux v1.9.2
icy-name:United-Radio: adonis is sponsort by NGZ icy-genre:alles icy-url:www.united-radio.de ICY 200 OK icy-notice1:
Kommentar