Jim & Jerry,
I'm interested in how a php script works to pull the correct date from the directory. There are some images that I'd like to use on other noaa sites that have the dates in the file names so I am unable to link to them directly.
Tom
Date mashing is risky because you're trying to mimic an external site's schedule and code without really knowing what it is. You don't know when the failure will come, but come it will. My '
flumaps' script mashes dates, but it took quite a while to understand the variables in play before the script would work fairly reliably. Even now it requires occasional revision when it falls over. The main file source is
here and the 'includes' file is
here. They serve as a fairly extreme example of the perils of date mashing. There's a lot of commented out code in the includes file I need for debugging work, which makes it look even more gnarly than it is.
What images did you have in mind, Tom?