//php4-----------------------------------
/* if ($handle = opendir('fotomappen')) {
while (false !== ($file = readdir($handle))) {
//echo $file.'
';
$dirs[$inc++] = $file;
}
closedir($handle);
}
*/
include ('settings.php');
$basedir = $_GET['id'];
//php5-----------------------------------
echo '
';
$mappen = scandir($basedir,SORT_DESC);
foreach ($mappen as $dirs){
if (strtolower(substr($dirs,0,1)) != '-' and $dirs != '.' and $dirs != '..' and $dirs != '_notes' and $dirs != '.DS_Store'){
echo ''.substr($dirs,(strpos($dirs,' '))).'
'.$underline;
}
}
?>