Hey everyone, I'm rather new to PHP and I'm having a little trouble with creating a gallery script. What I want to do is have PHP look into certain folders and view them on the page. I don't want to post up pictures from the website, but rather just upload them straight into a folder, and PHP will just retrieve it from there. Anyone know how? Any help will be appreciated. Thanks, -Samuel
You will need to use this function: http://php.net/manual/en/function.readdir.php Once the files are read you will have to display the filename in a IMG tag so it can be displayed to the browser. My suggestion is to search for a script that already does this rather than building one from scratch. Search for "php image gallery" on google.