RE: [PHP-WIN] Headers
| From: | Ross Fleming | Date: | Wed, 06 Feb 2002 23:45:18 +0000 |
| Subject: | RE: [PHP-WIN] Headers | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-11887@lists.php.net to get a copy of this message | ||
From php.net -> headers manual;
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in
the past
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); //
always
modified
header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache"); // HTTP/1.0
Not always guaranteed to work. There are also HTML <META> tags that u can
use as well. Off the top of my head I can't remember them but any good HTML
site should tell.
Unless anyone that knows them offhand and wants to share?
Cheers
Ross
-----Original Message-----
From: Christian Calloway [mailto:dcminds@yahoo.com]
Sent: Wednesday, February 06, 2002 11:44 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] Headers
Hey everyone,
I need to turn off browser caching, and Im assuming I need to send a couple
headers to do so. Can anyone help? Thanks
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php