【php开源代码栏目提醒】:以下是网学会员为您推荐的php开源代码-editor.php,希望本篇文章对您学习有所帮助。
<?php
if(!defined('ROOT') || !isset($php_self) || !preg_match("/[\/\\\\]admincp\.php$/", $php_self)) {
exit('Access Denied');
}
//璋冪敤缂栬緫鍣ㄤ富浣?
include('editor/fckeditor.php') ;
//璁剧疆鍐呭鍖哄煙
$oFCKeditor = new FCKeditor('content');
$oFCKeditor->Value = $article['content'];
//鍐呭鍖哄煙鐨勬ā鏉垮彉閲?
$contentarea = $oFCKeditor->CreateHtml();
?>