The forum operates in read-only mode. Please head to StackOverflow for support.
Title PHP integration : textarea variable with slash problemchanged to FCKeditor 2.6.5 and File Manager 5.20,because a slash in code is not a problem (see why in this topic).
OK... Erhmmm... I think I've understood the slash problem, which is not a problem.http://www.commentcamarche.net/contents/php/phpvar.php3Here, they explain that [ /" ] is the same as [ " ]So, textarea name=\"fmText\" must be the same as textarea name="fmText"So, fmText is the FCKeditor variable to use. But FCKeditor doesn't want to work... Look what I've done :I've unzipped FCKeditor and uploaded files in the fckeditor directory (created before in my FileManager520 directory).The FileManager520 script has a editor.php file in his class directory, the textarea is in it.FileManager520 script : http://www.gerd-tentler.de/tools/filemanager/index.phpIn line 2 of editor.php, the FCK editor include :
<?php include("fckeditor/fckeditor.php") ; /** * This code is part of the FileManager softwa...
It's OK now ! With this code :
$oFCKeditor = new FCKeditor('fmText') ; $oFCKeditor->BasePath = 'fckeditor/' ; $oFCKeditor->Value = $content ; $oFCKeditor->Create() ;
Re: PHP integration : textarea variable with slash problem
OK... Erhmmm...
I think I've understood the slash problem, which is not a problem.
http://www.commentcamarche.net/contents/php/phpvar.php3
Here, they explain that [ /" ] is the same as [ " ]
So, textarea name=\"fmText\" must be the same as textarea name="fmText"
So, fmText is the FCKeditor variable to use.
But FCKeditor doesn't want to work...
Look what I've done :
I've unzipped FCKeditor and uploaded files in the fckeditor directory (created before in my FileManager520 directory).
The FileManager520 script has a editor.php file in his class directory, the textarea is in it.
FileManager520 script : http://www.gerd-tentler.de/tools/filemanager/index.php
In line 2 of editor.php, the FCK editor include :
Re: FCKeditor 2.6.5 and File Manager 5.20
It's OK now !
With this code :