Forum Moderators: open
Does someone know what setting do I need to change so single quotes are accepted? They worked fine with 4.1 and I hope I don't have to comb through 1000's of lines of code to change them :). They are displayed just fine as they are 'text'; I just can't update them. I know (Ok, I think I know) it has to do with with character sets and stuff, but no idea as to where to start.
any ideas?
thanks guys,
it was on on my old php.ini. The thing is that it worked fine for years and now, I have no choice but to turn it on here too, at least for the domains using this program. The fix is gonna be painful. I already have to turn register_globals on for a few directories otherwise?= don't work. Oh well. Would you say that this is a sign of a lazy programmer?
throught the code I see:
$text=mysql_escape_string(nl2br(stripslashes($text)));
mysql_real_escape_string apparently is newer but shouldn't the first one work too?
Thanks guys,