Re: Netscape differences?
| From: | Jeff Warrington | Date: | Wed, 17 Jan 2001 18:56:28 +0000 |
| Subject: | Re: Netscape differences? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-35111@lists.php.net to get a copy of this message | ||
In article <20010114211331.8368.qmail@web3003.mail.yahoo.com>, "Joel
Dossey" <smokin_joel@yahoo.com> 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/
>
>