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!
Re: !!!Switching from FCK to CK Editor...HELP!!!
Re: !!!Switching from FCK to CK Editor...HELP!!!
Check _samples/php/replace.php distributed with CKEditor.
Use similar code in your application, just make sure you are using the correct paths:
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+