José León Serna <[EMAIL PROTECTED]> wrote:
> Hello:
>     How could I disable the browser cache?, I have a script that
> generates an image and shows it via <IMG SRC="myimage">. The problem
> is if I change the image, the browser doesn't reflect the changes
> until I push refresh. I supose is sending a header, but which header?

Headers aren't the best way since some browsers do a great job of ignoring
them (or at least appearing to). The best way I've found to make sure the
content is retrieved from the server is to add ?n to the URL replacing
randomnumber with a random number (I usually use the return value from


PHP General Mailing List (
To unsubscribe, visit:

Reply via email to