![]() |
PCDVD數位科技討論區
(https://www.pcdvd.com.tw/index.php)
- 疑難雜症區
(https://www.pcdvd.com.tw/forumdisplay.php?f=34)
- - PHP要怎麼寫讓client端每次都讀取server端~
(https://www.pcdvd.com.tw/showthread.php?t=671904)
|
---|
PHP要怎麼寫讓client端每次都讀取server端~
如題~
要怎樣才能讓使用者瀏覽網頁時,不去讀取temp資料夾,而是每次都讀取server端資料? |
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"); |
所有的時間均為GMT +8。 現在的時間是11:44 PM. |
vBulletin Version 3.0.1
powered_by_vbulletin 2025。