Re: Graphics question

From: Date: Fri, 08 Nov 2002 08:42:55 +0000
Subject: Re: Graphics question
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-123335@lists.php.net to get a copy of this message
At 05:38 08.11.2002, Mike Mannakee said: --------------------[snip]-------------------- >Jeez, this is simple. The browser is caching the image. There's no real >way to fix that. There are some headers that may encourage the browser to >not cache, but there is no sure way to control whether the users will have >this setting overridden. Or, as in a previous thread from yesterday, you could make the image url look different by using random(): <img src="http://your/imageurl.jpg?<?php echo random()?>"> >You can also search for specifics of the headers that are meant to stop a >browser from caching. No-cache MIME headers are: header('Pragma: no-cache'); header('Cache: none'); -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/

« previous php.general (#123335) next »