phpMyAdmin的header_http.inc.php

 

PHP代码
  1. /**     
  2.  * Sends http headers     
  3.  */      
  4. $GLOBALS['now'] = gmdate('D, d M Y H:i:s') . ' GMT';      
  5. header('Expires: ' . $GLOBALS['now']); // rfc2616 - Section 14.21      
  6. header('Last-Modified: ' . $GLOBALS['now']);      
  7. header('Cache-Control: no-store, no-cache, must-revalidate, pre-check=0, post-check=0, max-age=0'); // HTTP/1.1      
  8. header('Pragma: no-cache'); // HTTP/1.0      
  9. // Define the charset      
  10. header('Content-Type: text/html; charset=utf-8']);  

« 上一篇 | 下一篇 »

Trackbacks

点击获得Trackback地址,Encode: UTF-8 点击获得Trackback地址,Encode: GB2312 or GBK 点击获得Trackback地址,Encode: BIG5

发表评论

评论内容 (必填):