Probelm displaying files from directory
Please view the following page: http://www.roy.lu/futuraplay/
I am using this code:
1. Why does this display a . and a .. in addition to the files in the directory? - I don't want this
$dir="./download"; // Directory where files are stored
if ($dir_list = opendir($dir))
while(($filename = readdir($dir_list)) !== false)
<p><a href="<?php echo $filename; ?>"><?php echo $filename;
2. Why don't the links include the real file path? Hence the pictures won't open...
Thanks in advance for your help.