note 12275 deleted from function.header by jimw

From: Date: Wed, 31 Oct 2001 21:57:02 +0000
Subject: note 12275 deleted from function.header by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-19771@lists.php.net to get a copy of this message
If you want to prevent an image file from being cached in a user's browser, try something like this: <?php header ("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header ("Cache-Control: no-cache, must-revalidate"); header ("Pragma: no-cache"); header("Content-type: image/gif"); require("test.gif"); ?>

« previous php.notes (#19771) next »