Clearing images from cache

U

Unregistered

Guest
I have a suggestiong but first one question: WHY?!? would you not want to cache your images??

if you have a good answer then:

when you output your img tag:

<img src="yourimage.gif" alt="" width="" height="">

put a RANDOM... long random... as near to true random string at the end of the .gif..... like:

<img src="yourimage.gif?trulyrandomnumberstringgeneratedbyPHP4" alt="" width="" height="">

That way, when the browser receives each image, they are UNIQUE and immune to caching....
 
U

Unregistered

Guest
How d'ya like that, no HTML... let's try this again...

I have a suggestiong but first one question: WHY?!? would you not want to cache your images??

if you have a good answer then:

when you output your img tag:
&lt;img src="yourimage.gif"&gt;


put a RANDOM... long random... as near to true random string at the end of the .gif..... like:
&lt;img src="yourimage.gif?averylongandUNIQUEphp4string"&gt;


That way, when the browser receives each image, they are UNIQUE and immune to caching....
 
Top