/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function list_files($dir) { { { { if($file != "." && $file != ".." && $file != "Thumbs.db") { echo '<a target="_blank" href="'.$dir.$file.'">'.$file.'</a><br>'."\n"; } } } } }