Home  >  Article  >  php教程  >  php set_magic_quotes_runtime() 函数过时解决方法

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

WBOY
WBOYOriginal
2016-06-06 20:34:271154browse

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

把函数:

set_magic_quotes_runtime($new_setting);

替换成:
ini_set("magic_quotes_runtime", $new_setting);
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn