PHP 5.3 automatically escapes $_GET/$_POST from form strings?

后端 未结 4 1058
庸人自扰
庸人自扰 2020-12-06 19:43

My server admin recently upgraded to PHP 5.3 and I\'m getting a weird \"bug\" (or feature, as the PHP folks have it). I had mysql_real_escape_string around most

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-06 20:04

    check http://www.php.net/manual/en/info.configuration.php#ini.magic-quotes-gpc option in php.ini

提交回复
热议问题