Злравствуйте. Подскажите плз в чем может быть проблема невозможности подключения скрипта к SHOUTcast? Сервер запущен, поток идет в скрипте ip, порт, и пасс прописаны. Выдает
Warning: fsockopen(): unable to connect to 77.37.147.26:8000 in /home/s/still.h16.ru/WWW/stream_stats.php on line 25
Still Radio is Offline
То же самое с аналогичными скриптами, отличается лишь строка ошибки.
Собсна код.
Показать / Cкрыть текст//*********** PUT YOUR INFO HERE ***********//
//Configuration
$scdef = "Still Radio";
// ABOVE: Default station name to display when server or stream is down
$scip = "77.37.147.26"; // ip or url of shoutcast server (DO NOT ADD HTTP:// don't include the port)
$scport = "8000"; // port of shoutcast server
$scpass = "xxx"; // password to shoutcast server
$refreshrate = "200"; // Script/Page refresh time
$bgcolor = "#ffffff"; // page background colour, hex value, default = white, #ffffff
//End configuration
//*********** PUT YOUR INFO HERE ***********//
$scfp = fsockopen("$scip", $scport, &$errno, &$errstr, 30);
Последняя строка и есть 25