note 52009 added to function.header

From: Date: Mon, 18 Apr 2005 18:27:43 +0000
Subject: note 52009 added to function.header
Groups: php.notes 
Request: Send a blank email to php-notes+get-88176@lists.php.net to get a copy of this message
Can anyone tell me how I can add this <code><?php // Date in the past header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // always modified header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // HTTP/1.1 header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: post-check=0, pre-check=0", false); // HTTP/1.0 header("Pragma: no-cache"); ?> <code> to my site here: http://hovedogs.co.uk/cubecart I seem to have stopped the front page from caching, but when users click on an image in a category it is caching? TIA ---- Manual Page -- http://www.php.net/manual/en/function.header.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+52009 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52009&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52009&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52009&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52009&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52009&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+52009&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#88176) next »