user1234
user1234

Reputation: 111

FCKeditor having issue with single quote

I am using fck editor in php code and facing issue while entering single quote like ' v '. Also I am not able to use character like '\0'. If I use this it omits single quotes and also character '0'

Upvotes: 2

Views: 194

Answers (1)

liyakat
liyakat

Reputation: 11853

you can phpinfo() and see if magic quotes are enabled - then do . 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 would be fix you right up. You may need to use a .htaccess file depending on your server or webhost setup, in which case you should use the line:

php_flag magic_quotes_gpc Off

hope this will sure help you.

Upvotes: 1

Related Questions