![]() |
||
Major Member
![]() 加入日期: Sep 2006
文章: 125
|
PHP要怎麼寫讓client端每次都讀取server端~
如題~
要怎樣才能讓使用者瀏覽網頁時,不去讀取temp資料夾,而是每次都讀取server端資料? |
|||||||
![]() |
![]() |
Regular Member
![]() ![]() 加入日期: Sep 2006
文章: 67
|
HTML:
<meta http-equiv="expires" content="-1"> <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="MSThemeCompatible" content="Yes"> <meta http-equiv="Cache-Control" content="no-cache"> PHP: header("Last-Modified: " . gmdate("D, d M Y H:i:s") . "GMT"); header("Cache-Control: no-cache, must-revalidate"); header("Pragma: no-cache"); |
||
![]() |
![]() |