php 禁止页面缓存输出
复制代码 代码如下:
<?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');
?>
/php/23238.htmlwww.phpzy.comtrue/php/23238.htmlTechArticlephp 禁止页面缓存输出 复制代码 代码如下: ?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:...
PHP之友评论