Help finding the best approach in displaying an image that a script generates
I'm still new at php and could use a little guiadence. I trying to put together a php or html page. The page will have three frames and one fram is gif that updates every 2-3 minutes. I've put a little script to dump a gif locally on the server and then I was planning on calling the gif. The problem I'm running into is that the script takes a little time to generate the gif and when it goes and grab the gif its an out-dated one. So, I'm behind every time I refresh the page. Should I just shoot the gif onto the page and not save it directly? If so, how? Below is the script I have.