Feed on
Posts
Comments

Archive for June 13th, 2007

相信很多虛擬主機都會碰到時間的問題,比如說少8小時,或者是多8小時,現在只要在執行php的前端加上
date_default_timezone_set("Asia/Taipei");
這樣就會更新到正確時間了,這樣在使用 time mktime() 就沒啥問題了
或者逝去系統改 php.ini檔案
;Defines the default timezone used by the date functions
date.timezone = Asia/Taipei
這樣也可以~ 2種方法

Read Full Post »