1、fckeditor配置
$sBasePath = $_SERVER['PHP_SELF'] ;
$sBasePath = dirname($sBasePath).'/';
dirname ,取得路徑目錄名的函數
$oFCKeditor = new FCKeditor('FCKeditor1') ;
$oFCKeditor->BasePath = $sBasePath ;
2、fckeditor的應用
$oFCKeditor->Create(); 創建一個窗口出來
$oFCKeditor->Value='初始值';
提交時,直接使用實例化時的名稱 'FCKeditor1'