1 頁 (共 1 頁)

[問題] 確認代碼無法顯示(已解決)

發表於 : 2006-05-15 20:16
J 阿
●架設主機作業系統:FreeBSD 6.0
●您安裝的程式:Apache222 + php514 + PostgreSQL813
●您的 phpBB2 版本:phpBB 2.0.20

我是全新安裝,要註冊第一個用戶時就看不見了,gd模組有裝了,程式都還沒動到。
我用

代碼: 選擇全部

header ("Content-type: image/png");
$img_handle = ImageCreate (230, 20) or die ("Cannot Create image");
$back_color = ImageColorAllocate ($img_handle, 0, 10, 10);
$txt_color = ImageColorAllocate ($img_handle, 233, 114, 191);
ImageString ($img_handle, 31, 5, 5,  "Republic of Taiwan", $txt_color);ImagePng ($img_handle);
測試有出來,那是不是phpbb裡產生圖片那段有問題?如果是的話請問是在哪一支程式裡?如果不是那請問有什麼可能呢?
--------
決解了,謝謝

發表於 : 2006-05-15 20:25
chiouss