PHP form to show images from folder

images php coding issues or problems here.

Moderators: macek, egami, gesf

Snowbird
New php-forum User
New php-forum User
Posts: 1
Joined: Sun Oct 30, 2011 5:21 pm

PHP form to show images from folder

Postby Snowbird » Sun Oct 30, 2011 5:33 pm

Hi everyone,

I'm a long time lurker learning PHP from you folks, and most of everything I have learnt so far is just from reading your issues, suggestions, etc. A bunch of smart folks.

This one I can't seem to figure out through searching, etc. Maybe I'm just thinking about it wrong so that's why I can't find it, but either way its time I ask for help.

I have a folder filled with a bunch of images, file names are:

yyyy-mm-dd-xx:xx-1.png
yyyy-mm-dd-xx:xx-2.png

and so on.

I want to have a form where the user selects the yyyy, mm, dd, and xx:xx (time) and then it will pull all the images from that period, from the folder and display them on the page.

I know that I'll have to create a var for yyyy, mm, dd, time and pass those over somehow? How do I pass them over to more PHP code that is going to pull those images and render them on the page?

I'm at a loss on how to get this done. Anyone have any suggestions on how the best way to approach this would be?

Thanks very much for your time,

Return to “PHP coding => Images”

Who is online

Users browsing this forum: Google [Bot] and 2 guests