Re: New image already cached. (SOLVED)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 9:56 PM -0500 4/23/06, Richard Lynch wrote:
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...

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

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux