ścieżki do folderów


Foldery mp3:


$katalog='wp-content/mp3/';

foreach(scandir($katalog) as $file)
if($file != '.' && $file != '..')
echo $file . '
‘;

?>

Pliki txt:


$katalog='wp-content/utwory/';

foreach(scandir($katalog) as $file)
if($file != '.' && $file != '..')
echo $file . '
‘;

?>