php技巧

关注公众号 jb51net

关闭
首页 > 网络编程 > PHP编程 > php技巧 > set_magic_quotes_runtime

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

作者:

PHP5.3中 bool set_magic_quotes_runtime ( bool $new_setting )函数过时.
把函数:

set_magic_quotes_runtime($new_setting);

替换成:
ini_set("magic_quotes_runtime", $new_setting);
阅读全文