mariovaldez.net
http://www.mariovaldez.net/webapps/forums/

Quotes
http://www.mariovaldez.net/webapps/forums/viewtopic.php?f=3&t=36
Page 1 of 1

Author:  iPsymon [ 14 Jun 2003, 13:39 ]
Post subject:  Quotes

I know this is most likely something that I am doing wrong.

When ever a quote ' is used in the content area, it keeps getting an escape character. (i.e. \').

I know I had this problem before with double quotes "" and you corrected me about the magic_quotes in php.ini. This fixed the problem with double quotes, but I still seem to have the problem with single quotes.

If you could, can you please tell me what I am doing wrong?

Thanks in advance,

Mark

Author:  mvaldez [ 17 Jun 2003, 12:14 ]
Post subject:  Single quotes...

Psymon,

> When ever a quote ' is used in the content area,
> it keeps getting an escape character. (i.e. \').
> I know I had this problem before with double
> quotes "" and you corrected me about the
> magic_quotes in php.ini. This fixed the problem
> with double quotes, but I still seem to have
> the problem with single quotes. If you could,
> can you please tell me what I am doing wrong?

Well, I don't think this is something you are doing wrong. The CMS should detect if you are using or not magic_quotes and behave accordingly. By the way, I think now the CMS module can work even with magic_quotes_gpc disabled.

So Mark, what are the settings of magic_quotes_gpc, magic_quotes_runtime and magic_quotes_sybase in your PHP?

My first guess is that you have both magic_quotes_gpc and magic_quotes_runtime enabled. If so, then disable magic_quotes_runtime and test again. If this don't fix the problem, then please tell me if the quotes appear also when using "preview" or only after saving the content to the database.


Regards,

Mario A. Valdez-Ramirez.

Author:  iPsymon [ 17 Jun 2003, 14:23 ]
Post subject:  magic_quotes_runtime

Once again you have come thru!!!! :lol:

I turned magic_quotes_runtime to Off & it seems like the problem is gone.

Thanks,

Mark

Page 1 of 1 All times are UTC - 7 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/