Andrew Kirilenko wrote:
> 
> Hello!
> 
> Sorry for offtopic.
> 
> I'm developing PHP page for the displaying some kind of statistic.
> It displays graphics for the selected user. Pictures updates every 5 minutes
> by external program. I've form with submit button. If I press this button
> with different user selected, everything is OK. But if I press this button
> for the same user selected, images doesn't update!!!
> I've added <meta http-equiv="cache-control" content="no-cache"> and <meta
> http-equiv="pragma" content="no-cache"> to the page - it doesn't help!
> 

Let your php generates sources for images like this:
<? 
echo '<img src="image.gif?' . time() . '">';
?>
Now, for browser this image source is a little different every time and 
it must be requested from server, not from cache. At least Netscape
does.


Hope this helps.

-- 
Pavel a.k.a. Papi

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to