[Xitami] Re: Xitami digest, Vol 1 #381 - 7 msgs
Melle Koning
xitami@lists.xitami.org
Fri, 31 May 2002 14:49:41 -0700 (PDT)
Trent,
Sorry it seems I did not understand what you were
saying. I thought you meant that a changed PHP file
was in fact changed output, now I understand.
What you probably want to do, is add the following to
the top of your PHP file:
// past date
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
// always changed
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");
Good luck,
=====
--
http://hace.dyndns.org/
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com