In article <[EMAIL PROTECTED]>, "Joel
Dossey" <[EMAIL PROTECTED]> wrote:

One way to fool browsers when making an image request is to append a 
random string to the query string of the img src.  In these situations,
adding 'rand=<?php print(time()); ?>' can do the trick.

Jeff

> Greetings, I have a php script that generates a random image. All images
> are kept in a mysql table. It works fine when viewed by IE, but
> Netscape, and Lynx, always show the same image. The database
> information, however, is changed as it should be (correctly incrementing
> the times seen column for the image), and on refresh all information
> goes as it should, except for randomly selecting an image.
>  This may be an apache caching problem, but I was
> wondering if anyone has run into this working with php in general, and
> what solutions I need to explore.
> 
> Thanks much, Joel Dossey
> 
> 
> __________________________________________________
> Do You Yahoo!? Get email at your own domain with Yahoo! Mail. 
> http://personal.mail.yahoo.com/
> 
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to