I need a small php script which todays image of a newspaper if its found, and yesterdays image if its not found.
The path of the images is /bilder/[url removed, login to view]
Where yyyy is the year (2009), mm is the month (11) and dd is the day (24).
So if today is 24th of October, the script would display
/bilder/[url removed, login to view] if that image is found, and
/bilder/[url removed, login to view] if the first image is not found.
It would be great if the script also went to the 22nd, 21st and so forth if the previous image was not found, so that it would always display the newest image found.