Skip to content

Commit

Permalink
Update shoutcast.php
Browse files Browse the repository at this point in the history
  • Loading branch information
dlnetworks committed Aug 28, 2017
1 parent 24f8012 commit 4cb192e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shoutcast.php
Expand Up @@ -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");
Expand Down

0 comments on commit 4cb192e

Please sign in to comment.