Hi,
I have a strange problem that do not appears when I use CKEditor on local files through Easy PHP2.0 but that appears when I use the files hosted through internet (OHV hosting). An exemple will be more easy to understand :
The original text to be modified is "<font color="blue" size="22px">Petit essai</font>" and was uploaded on the server through filezilla in a file of the host server.
Then I load that text in a page with CKEditor. The "source" option of CKEditor displays it righly.
If I send back the text to the server (without any change) to be saved, it is now stored as "<font color=\"blue\" size=\"22px\">Petit essai</font>"
Each double quote has been "escaped" with an "\" character and the result becomes unusuable.
There is nothing special on the text save php script :
nor in the CKEdit call PHP script :
Does someone have seen that before ?
Does the problem come from a configuration of CKEditor, or from some setting of the host ?
I have tried many and many things, even to read CKSources... but I still do not understand.
Any help will be welcome before I become crazy !!!
Thank you very much (and please excuse my English)
Pascal
I have a strange problem that do not appears when I use CKEditor on local files through Easy PHP2.0 but that appears when I use the files hosted through internet (OHV hosting). An exemple will be more easy to understand :
The original text to be modified is "<font color="blue" size="22px">Petit essai</font>" and was uploaded on the server through filezilla in a file of the host server.
Then I load that text in a page with CKEditor. The "source" option of CKEditor displays it righly.
If I send back the text to the server (without any change) to be saved, it is now stored as "<font color=\"blue\" size=\"22px\">Petit essai</font>"
Each double quote has been "escaped" with an "\" character and the result becomes unusuable.
There is nothing special on the text save php script :
if (isset($_POST['edition']))
{
$Fich = fopen($PageHtm, "w");
fWrite($Fich, $_POST['edition']);
fclose($Fich);
}nor in the CKEdit call PHP script :
if ($edition)
{
echo '<form method="post" action="'.$PagePhp.'">';
echo '<textarea class="ckeditor" id="edition" name="edition">';
readfile($PageHtm);
echo '</textarea>';
echo '<script type="text/javascript">CKEDITOR.replace(\'edition\', {extraPlugins : \'uicolor\', height: \'600px\',} ); </script>';
echo '<p><input type="submit" /></p>';
echo '</form>';
}
Does someone have seen that before ?
Does the problem come from a configuration of CKEditor, or from some setting of the host ?
I have tried many and many things, even to read CKSources... but I still do not understand.
Any help will be welcome before I become crazy !!!
Thank you very much (and please excuse my English)
Pascal

Re: doublequotes "escaped" by "\"
Re: doublequotes "escaped" by "\"
Re: doublequotes "escaped" by "\"
in your .htaccess.