<form action="disp.php" method="post">
<?php
//引用FCKeditor.php這個文件,基本的類和數據結構都在這裏
include ("fckeditor/fckeditor.php");
//創建FCKeditor對象的實例。myFCKeditor即提交後,接收數據頁面 _POST['myFCKeditor']使用
$FCKeditor = new FCKeditor("content");
//FCKeditor所在的位置,這裏它的位置就是'FCKeditor' 文件夾
$FCKeditor -> BasePath='./fckeditor/';
//工具按鈕設置
$FCKeditor -> ToolbarSet="Default";
//設置它的寬度
$FCKeditor -> Width='500px';
//設置它的高度
$FCKeditor -> Height='300px';
//生成
$FCKeditor -> Create();
?>
<input type="submit" value="提交">
</form>