<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>