> Jeez, this is simple.  The browser is caching the image.  There's no real
> way to fix that.  There are some headers that may encourage the browser to
> not cache, but there is no sure way to control whether the users will have
> this setting overridden.


I use....

         srand((double)microtime()*1000000);
         $anticache= md5(rand(0,9999999));

and then


echo "<IMG
src=\"drawpic.php?arg1=blah&arg2=blah&.....&anticache=$anticache\" ....
>\n";

Since this addition, i have never had a problem with cache,

HTH

Todd.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to