So I have a two loops, one to open a directory, then check to see the files in a directory. If one of those files happens to be a direcotry then it opens another loop and goes though those files... So basically all the files in these directories are images. So when the loops go through them it will push them into a string (all the image location in html format). Then it will fwrite() the string to a file. My question is, is there a way to create a temp page that will display those images, instead of fwriting() to a file? Maybe some method ? Any help would be great!