Re: New image already cached. (SOLVED)
| From: | Richard Lynch | Date: | Mon, 24 Apr 2006 02:56:18 +0000 |
| Subject: | Re: New image already cached. (SOLVED) | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-234602@lists.php.net to get a copy of this message | ||
On Sun, April 23, 2006 5:25 pm, tedd wrote:
> <img src="images/the_image.png?id=<?php rand(); ?>">
>
> Neither the image tag nor the file cares if there is a random number
> attached to the file's url. But, by doing this, most (perhaps all)
> browsers think the image name is unique.
>
> Doe anyone see any problems with this?
Oh, all the browsers will KNOW it's a unique URL...
But some of them won't believe it's a valid image. :-(
Alas, I do not recall which browser would mess this up -- And it's
probably so old MOST webmasters won't care...
--
Like Music?
http://l-i-e.com/artists.htm