Search code examples
fckeditor

FCKeditor extra unwanted slashes coming


When I try to save text using FCKeditor, too many extra unwanted slashes gets added to the text saved in database. thanks in adveance for any solution,suggestion


Solution

  • do a phpinfo() and see if magic quotes are enabled - thats what it sounds like. If they are enabled (shame on your host) then you can make a php.ini file in the directory and put in the lines:

    ; Magic quotes for incoming GET/POST/Cookie data.
    magic_quotes_gpc = Off
    

    and that should fix you right up. You may need to use a .htaccess file depending on your webhost setup, in which case you'd use the line:

    php_flag magic_quotes_gpc Off