ok, I've been told what I would like to do has to be done in php or something similar. I don't know much on writing code or php but here is what I am trying todo here.

I want to create a directory and upload images in that directory with file names like:

10202012.jpg
10272012.jpg
11152012.jpg
12052012.jpg

What I would like to do is have the script search the directory and find the newest date, in this case is 10202012.jpg and compare that date to todays date of 10132012 and then display this image until 11:00 pm of the date of the filename, then expire and display the next image wich is 10272012.jpg and do this all over for all the files in that directory.

Thanks