thanks! i used this code
if ($dir = @opendir("/home/leetcrew/public_html/private")) {
while (($file = readdir($dir)) !== false) {
if ($file == '..' || $file=='.' || $file == '.htaccess') {
echo '';
} else {
echo "<a href=\"$file\" targer=\"blank\">$file</a><br>\n";
}
}
closedir($dir);
}
but it could be better if i'm going to put those list into array, but i dont know how... 🙂