I have FCK Editor in my main directory and am accessing it with this include file and this script:
<? include("../FCKeditor/fckeditor.php"); ?>
<?
$oFCKeditor = new FCKeditor('stuff') ;
$oFCKeditor->BasePath = '../FCKeditor/' ;
$oFCKeditor->Value = $stuff ;
$oFCKeditor->Create() ;
?>
and
<?
$oFCKeditor = new FCKeditor('stuff') ;
$oFCKeditor->BasePath = '../FCKeditor/' ;
$oFCKeditor->Value = '' ;
$oFCKeditor->Create() ;
?>
I have been trying to get CK Editor to work with no luck. I am using FCK 2.4.3 and I am afraid it could be causing me some potential vulnerabilities.
How can I modify this code to work with the CK Editor and do I need to put CK inside or outside the root?
Thanks in advance for all the help!
<? include("../FCKeditor/fckeditor.php"); ?>
<?
$oFCKeditor = new FCKeditor('stuff') ;
$oFCKeditor->BasePath = '../FCKeditor/' ;
$oFCKeditor->Value = $stuff ;
$oFCKeditor->Create() ;
?>
and
<?
$oFCKeditor = new FCKeditor('stuff') ;
$oFCKeditor->BasePath = '../FCKeditor/' ;
$oFCKeditor->Value = '' ;
$oFCKeditor->Create() ;
?>
I have been trying to get CK Editor to work with no luck. I am using FCK 2.4.3 and I am afraid it could be causing me some potential vulnerabilities.
How can I modify this code to work with the CK Editor and do I need to put CK inside or outside the root?
Thanks in advance for all the help!

Use similar code in your application, just make sure you are using the correct paths:
+ read docs:
http://docs.cksource.com/CKEditor_3.x/H ... _FCKeditor
http://docs.cksource.com/CKEditor_3.x/H ... figuration
Wiktor Walc
CTO
--
CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+