Snack's 1967
Download | Musik Mp3 | Galeri | Wallpaper

"Folder musik tidak ditemukan"]); exit; } $files = scandir($folder); $songs = []; foreach ($files as $file) { $path = $folder . DIRECTORY_SEPARATOR . $file; if (is_file($path) && strtolower(pathinfo($file, PATHINFO_EXTENSION)) === 'mp3') { $songs[] = [ "title" => pathinfo($file, PATHINFO_FILENAME), "url" => "http://buspy.mobie.in/Dari/Gamma1/" . rawurlencode($file) ]; } } natcasesort(array_column($songs, 'title')); usort($songs, function($a, $b) { return strnatcasecmp($a['title'], $b['title']); }); echo json_encode( array_values($songs), JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES ); ?>