Hi I am trying to display all the images in a certain folder.

I dont want to display the directory itself of the parent directory.

I would like to show the actual photos instead of the links also.

Here is the code:
PHP Code:
?><!doctype html public "-//W3C//DTD HTML 4.0 //EN">
       <title>Easy display</title>

$images scandir($dirname);
$images as $curimg){
"<a href='./imagesFolder/user${_SESSION['user']}/$curimg'>$curimg</a><br>\n";
Any suggestions?

Thanks in advance!