php-general | 2001032
Date: 03/30/01
- Next message: John Huggins: "RE: [PHP] How to send e-mail using PHP with the sender's address is my company's e-mail ??"
- Previous message: Brandon Orther: "[PHP] (8)Exec format error???"
- Next in thread: Brian S. Dunworth: "Re: [PHP] header() vs. no cache, it doesn't work."
- Reply: Brian S. Dunworth: "Re: [PHP] header() vs. no cache, it doesn't work."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
When I use this script
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");
Next, I browse around and go back one page, the cache does not expire.
Sometime I get the error messages said that the header had already start or
something. So, what is the other way around to fix this problem????? Or
how can I fix it????
Thanks,
Scott
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: John Huggins: "RE: [PHP] How to send e-mail using PHP with the sender's address is my company's e-mail ??"
- Previous message: Brandon Orther: "[PHP] (8)Exec format error???"
- Next in thread: Brian S. Dunworth: "Re: [PHP] header() vs. no cache, it doesn't work."
- Reply: Brian S. Dunworth: "Re: [PHP] header() vs. no cache, it doesn't work."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

