Anthony wrote:only if i was dumb enough to not cache the images at all :-p but since we are caching that means you are really loading the .png from the server and its not generated every time you view causing stress on the server
so that php code will do nothing
I'm aware it isn't generated each view. However, Firefox (Perhaps IE too) caches the image, and you have to reload the
browser's cache, plus recache on your site, in order to view the updated image. Your site will generate an updated one, but the browser's cache causes it to remain the same. Putting that simple code will stop the browser from caching it, thus not requiring the user to recache on the site
and in their browser.
Edit: Discussed on AIM, realized something I previously neglected. My comments are irrelevant to this script.