Show all links

<?php $dir = opendir('files/'); while ($read = readdir($dir)) { if ($read!='.' && $read!='..') { echo '<center><li><a href="files/'.$read.'"target="_blank"><FONT COLOR="#0196e3">'.$read.'</a></li></center>'; } } closedir($dir); ?>
Use this file to create links for all files in a folder

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.