<div id="xToolbar" style="width:800"></div>
<?php
include_once("./FCKeditor/fckeditor.php");
$fck = new FCKeditor("ftext");
$fck->BasePath = "/han/FCKeditor/";//相对根的位置
$fck->Config['ToolbarLocation'] = "Out:xToolbar";
$fck->Width = 800;//FCK的宽
$fck->Height = 300;//FCK的高
$fck->Value = "默认的内容";
$fck->Create();
$fck = new FCKeditor("ftext2");
$fck->BasePath = "/han/FCKeditor/";//相对根的位置
$fck->Config['ToolbarLocation'] = "Out:xToolbar";
$fck->Width = 800;//FCK的宽
$fck->Height = 300;//FCK的高
$fck->Value = "默认的内容";
$fck->Create();
?>