0

php set_magic_quotes_runtime() 函数过时解决方法

PHP5.x中 bool set_magic_quotes_runtime ( bool $new_setting )函数过时。
我们只用把过时的函数: 

set_magic_quotes_runtime($new_setting); 

替换成现有的函数ini_set即可: 
ini_set("magic_quotes_runtime", $new_setting);