Hello dear users/Admins from FCKEditor forum .
I got finally fckeditor working on my webpage .. but when im upload some standart smileys to the database with FCKeditor he is putting %22 in to the image url . i already find out what %22 means , it wil means " but he isnt uploading some " chars ...
How can i get this %22 out of my url ?
my PHP code is :
<?php
ini_set ('display_errors', 1);
error_reporting (E_ALL);
require_once('connect.php');
include ('fck/fckeditor.php');
?>
<html>
<h1>FCKEditor Test pagina .</h1>
<form action="" method="post">
<?php
// Automatically calculates the editor base path based on the _samples directory.
// This is usefull only for these samples. A real application should use something like this:
// $oFCKeditor->BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
$oFCKeditor = new FCKeditor('bericht');
$oFCKeditor->BasePath = 'FCK/';
$oFCKeditor->Height = '150';
$oFCKeditor->ToolbarSet = '';
$oFCKeditor->Create();
print'
<input type="submit" value="Submit">
</form>
</html>';
if ($_SERVER['REQUEST_METHOD'] == 'POST') {
mysql_query("INSERT INTO `fck` (`bericht`) VALUES ('".addslashes($_POST['bericht'])."')") or die (mysql_error());
}
?> Can someone help me out ?
Thank you ![]()
