Menu
Hi
On my host I see in phpinfo says that magic_quotes_gpc, magic_quotes_runtime and magic_quotes_sybase are all off. However it seem to me like “something” is escaping my data anyway. I see that phpinfo says under Configure Command ‘–enable-magic-quotes’
Is this the reason that when adding $mystring below to the db using mysql_real_escape_string I seem to get it double escaped? What is that Configure Command actually then and how can I check it like I’m trying with get_magic_quotes_gpc below ?
Thanks
[code=php]
if (get_magic_quotes_gpc ()) {
$mystring = stripslashes ( $mystring );
}