Contents of echo($dir); ?>
Preview:
Filename:
'); $info = pathinfo($file); if(ereg("jpg|jpeg|gif|tiff|tif|png", $info['extension'])) { $image = 1; } if($image) { echo('
'); } else { echo('
No preview available
'); } echo('
'); echo('
' . $file . '
'); echo('
'); echo(''); } ?>