I disabled magic_quotes in my php.ini.
But I still get escaped strings in my form.
Note: I'm running this in a theme in Wordpress.
I disabled magic_quotes in my php.ini.
But I still get escaped strings in my form.
Note: I'm running this in a theme in Wordpress.
I actually already figured this out, just want to leave my solution here in case other people might find it useful:
Wordpress automatically escapes all request variables. If magic quotes are turned off, they strip the slashes first, but add them again afterwards.
wp-settings.php code piece:
Source: http://www.wptextads.com/blog/2007/05/19/gpc-magic-quotes-in-wordpress-is-compulsory/