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");
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技术的开发心得,
记录站长生活的点点滴滴,PHP博客采用PHP
面向对象编程+Smarty模板引擎+Mysql数据库
开发(全站纯静态化与伪静态化)
QQ:334192009
电邮:admin@PHPdesigner.org