Forum Moderators: open
I am using PHP with the GD extension, which seems fairly straight foward exepts for the update problem.
Anybody got any idea on this, the META REFRESH probably won't work as it will clar the array each time.
Cheers
I think you'd have to add sessions to make it work the way you want, so there would be a session handler running on the iframe html page that contains the autorefreshing image, that's the only thing I can think of.
I'll take a look at what an "iframe" does, but I think you are right, I have used the metarefresh for overlaying text on a graphics background and that much works.
I could possibly use a piece of Javascript that goes every so often and grabs a new piece of data, scrolls the array one data piece left and adds the new data piece to the last position. This would provide a way of having a line graph displayed with new data being added. However then i would be mixing my environments and programming languages.
I wouldn't mix them, iframes are very easy to use, just make the tiny image page, have that be in the iframe, and have that reload as often as necessary, otherwise the whole page needs to reload, which could lead to very bad results for end users.