Page 1 of 1

I dont know if its php or sql related.......?

Posted: Wed Apr 02, 2003 8:13 am
by Laredo
I dont know if its php or sql related but I am hoping someone here has seen this problem before.
All of a sudden ( after an apache restart ) this is what I am seeing in random news article, flashes weblinks etc. on my website
( its an opensource cms called mambo )
\"on plan\". see the slashes around the quotes? those are not supposed to be there.
Also most anything that starts with an href=" instead looks like
href=\\"
anyone have any ideas? I am sure its not a Mambo problem ( it is also happening in my Squirrelmail ), but that I have some how screwed up my php .ini fileor maybe even my sql install somehow.
Thanks

Brian Knoblock

Posted: Wed Apr 02, 2003 8:59 am
by protokol

Posted: Wed Apr 02, 2003 9:20 am
by d1223m
there is that php.ini option for auto doing that isnt there?

Posted: Wed Apr 02, 2003 9:44 am
by pootergeist
the little switches in the .ini for autoslashing quoted strings are called magic_quotes - maybe try switching _gpc on if it isn't already.

Posted: Wed Apr 02, 2003 11:41 am
by twigletmac
pootergeist wrote:the little switches in the .ini for autoslashing quoted strings are called magic_quotes - maybe try switching _gpc on if it isn't already.
Although if you don't want things quoted then you may want to turn it off... In fact turn it off anyway and use addslashes() when you need to escape special characters in strings and don't do anything if you don't.

Mac