2013年1月23日 星期三

雜筆

修改伺服器時區:

1.在 php.ini中
找到
[Date]
; Defines the default timezone used by the date functions
;date.timezone =Europe/Berlin

改為

[Date]
; Defines the default timezone used by the date functions
date.timezone = Asia/Taipei

2.存檔

3.重新啟動apache


抓取時間
http://www.wretch.cc/blog/nap7582360/344310

http://joy0626.pixnet.net/blog/post/25185385-%5B%E7%AD%86%E8%A8%98%5D-php%EF%BC%9A%E6%99%82%E9%96%93%E5%87%BD%E6%95%B8