From 4cb192e4fd290707dfa9c232e9a63799ccae5e5d Mon Sep 17 00:00:00 2001 From: DL Networks Date: Mon, 28 Aug 2017 12:54:28 -0700 Subject: [PATCH] Update shoutcast.php --- shoutcast.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shoutcast.php b/shoutcast.php index 174f3c8..00aca10 100644 --- a/shoutcast.php +++ b/shoutcast.php @@ -65,7 +65,7 @@ while($i<=$servers) { $fp = @fsockopen($ip[$i],$port[$i],$errno,$errstr,$timeout); if ($fp) { - if ($dnasv = "2") { + if ($dnasv[$i] = "2") { fputs($fp, "GET /7.html?sid=$sid[$i] HTTP/1.0\r\nUser-Agent: Mozilla/5.0 (The King Kong of Lawn Care)\r\n\r\n"); } else { fputs($fp, "GET /7.html HTTP/1.0\r\nUser-Agent: Mozilla/5.0 (The King Kong of Lawn Care)\r\n\r\n");