|U'; preg_match_all($filtr2, $wrzuta, $dow, PREG_PATTERN_ORDER); $pok = $dow[0][0]; $pok = str_replace('
', "", $pok); $pok = str_replace('wrzuta.pl/audio/', "wrzuta.pl/sr/f/", $pok); echo "Download : " . $pok . "\n\n"; } $contents = file_get_contents('http://www.miastomuzyki.pl/playlista.html?id=6'); if($contents !== ""){ $filtr1 = '|
(.*) |U'; preg_match_all($filtr1, $contents, $godz, PREG_PATTERN_ORDER); $zmiany = ereg_replace("
", "\n", $contents); $zmiany = eregi_replace('
', '', $zmiany); $zmiany = eregi_replace('
', " ", $zmiany); $zmiany = str_replace('Pobierz dzwonek', '', $zmiany); $zmiany = str_replace(" ", " -", $zmiany); $zmiany = eregi_replace('', "", $zmiany); $zmiany = str_replace("", "", $zmiany); echo $zmiany; } else { echo "Brak playlisty..."; } ?>