Hey,
Ik heb een script gevonden en bewerkt zodat hij alleen het nummer laat zien wat je op de shoutcast server afspeelt. Alleen nu wou ik hem op me one2xs host zetten en dan doet hij dus niks...
Zet ik hem op mijn XAMPP werkt hij perfect.
Hier het script:
Ik heb een script gevonden en bewerkt zodat hij alleen het nummer laat zien wat je op de shoutcast server afspeelt. Alleen nu wou ik hem op me one2xs host zetten en dan doet hij dus niks...
Zet ik hem op mijn XAMPP werkt hij perfect.
Hier het script:
<div style="Visibility: Hidden; Position: Absolute;">
[COLOR= #0000BB]<?php
$open[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/fsockopen"]fsockopen[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"87.117.205.151"[/COLOR][COLOR= #007700],[/COLOR][COLOR= #DD0000]"30257"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/if"]if[/URL] [COLOR= #007700]([/COLOR][COLOR= #0000BB]$open[/COLOR][COLOR= #007700]) {[/COLOR]
[URL="http://www.php.net/fputs"]fputs[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$open[/COLOR][COLOR= #007700],[/COLOR][COLOR= #DD0000]"GET /7.html HTTP/1.1
User-Agent:Mozilla
"[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$read[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/fread"]fread[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$open[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]1000[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$text[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/explode"]explode[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]","[/COLOR][COLOR= #007700],[/COLOR][COLOR= #0000BB]$read[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$text[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$text[/COLOR][COLOR= #007700][[/COLOR][COLOR= #0000BB]6[/COLOR][COLOR= #007700]];
}[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR] [COLOR= #0000BB]$text[/COLOR][COLOR= #007700]=[/COLOR][COLOR= #DD0000]"Radio Offline"[/COLOR][COLOR= #007700]; }[/COLOR]
?>
</div>
<br><b>Nummer:</b> <?echo $text;?>
Je kan het beste gewoon