$oBasePath = dirname($oBasePath)."/fckeditor/";
<?php
include("fckeditor/fckeditor.php");
$oBasePath = $_SERVER[‘PHP_SELF‘];
$oBasePath = dirname($oBasePath)."/fckeditor/";
$oFCKeditor = new FCKeditor(‘FCKeditor1‘);
$oFCKeditor->BasePath = $oBasePath ;
$oFCKeditor->Height = "500px";
// $oFCKeditor->ToolbarSet = "Basic";
$oFCKeditor->Create() ;
?>
原文地址:http://www.cnblogs.com/zouyajun/p/3746758.html