Archive for the ‘Web’ Category

本站網路更新/停機

Tuesday, March 15th, 2011

本站將於台灣時間 3/15 上午進行網路線路服務更新,
頻寬將由 8M/640K 升級至 10M/2M,預期將帶來更順暢的網站體驗。

期間訪客請移駕備援站台,若有不便敬請見諒。


2011/03/15 21:20 Update:

本站網路已升級完畢,DNS 更新將於 12 hr 內完全生效。

PHP 5 Segmentation Fault

Thursday, May 8th, 2008

Recently, I used portupgrade to upgrade the PHP5 on my FreeBSD box, and it seems working smoothly. But few days ago, I found that php sometimes got Signal 11 (Segmentation Fault) unexpectedly.

Even type php --version in command line, I also get the segmentation fault!!
It took me lots of time to trace/solve the problem. Re-install the ports didn’t work.
(more…)

40 個 PHP 效能調校的技巧

Saturday, March 29th, 2008

最近在玩 Smarty & XAJAX
無意間看到了 Reinhold Weber 寫了一些提昇 PHP 效能的討論

網路上雖有中國簡體字版本,但由於文化隔閡過大,翻譯無法達到 “信、達、雅” 的目標
於是又根據原文將它翻譯成台灣正體中文,並加上自己的註解。
(more…)

XAJAX Debug

Sunday, March 23rd, 2008

To use the built-in debug in XAJAX library, simply add a line in your php file:
$xajax->setFlag('debug',true);

This will enable a pop-up window when the page is loaded.
(more…)

以PHP實現FTP authentiication

Wednesday, April 14th, 2004

跟之前”以 PHP 實現 POP3 authentication“差不多
這次打算借用 FTP 既有的認證機制!!
藉由判別 response message 來達到認證的目的!!
(more…)