Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as PHP by karol ( 15 years ago )
$file = @fsockopen('serv.radiosfera.pl', '7086');
if ($file) {
fputs ($file, "GET /played.html HTTP/1.1nUser-Agent:Mozillann");
while(!feof($file)) $t .= fread($file, 1024);
fclose($file);
}
$t = split("</td><td>", $t);
echo "<div class="now"><span class="gramy_title">Teraz gramy</span><br />n<strong>n";
for ($i=2;$j<=5;$i++)
if (strpos($t[$i],"Radiosfera")===false)
{
echo substr($t[$i],0,strpos($t[$i],"<"))."<br>n";
if ($j==0) echo "</strong>n<div class="previous"><span class="gramy_title">Graliśmy</span></div>n";
$j++;
}
echo "</div>n";
Revise this Paste