fckeditor是从所周知的一个前台页面编辑插件,怎么用?看如下:
我用的是debian系统,其它系统我不知道怎么安装。
apt-get install fckeditor
之后就可以用了,把/usr/share/fckeditor目录复制到你要使用的某个目录下,然后在php页中如下使用:
<?php
$oFCKeditor = new FCKeditor('FCKeditor1') ;//建立对象
$oFCKeditor->BasePath = 'FCKeditor/' ;//FCKeditor所在的位置
$oFCKeditor->ToolbarSet = 'Default' ;//工具按钮
$oFCKeditor->Create('EditorDefault', '60%',150) ;
?>
上边这一段是从网上来的。
<a href="http://www.diybl.com/course/4_webprogram/php/phpjs/20071021/78673.html">上边这一段是从网上来的。 </a>
快去试试效果吧。
本文介绍了fckeditor这款前台页面编辑插件的安装步骤及使用方法。以Debian系统为例,详细展示了通过apt-get安装fckeditor的过程,并提供了如何在PHP页面中引入并使用该插件的具体代码实例。
629

被折叠的 条评论
为什么被折叠?



