Re: New image already cached. (SOLVED)
| From: | tedd | Date: | Tue, 25 Apr 2006 13:56:16 +0000 |
| Subject: | Re: New image already cached. (SOLVED) | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-234699@lists.php.net to get a copy of this message | ||
At 9:56 PM -0500 4/23/06, Richard Lynch wrote:
On Sun, April 23, 2006 5:25 pm, tedd wrote:I ran a test through BrowserCam and surprisingly the ONLY browser that failed to recognize the url as a valid image was Netscape 4.78 for W2K. But, that browser is ancient. So, it works! tedd -- -------------------------------------------------------------------------------- http://sperling.com<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...