Home  >  Article  >  Backend Development  >  php set_magic_quotes_runtime() 函数过时解决办法

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

WBOY
WBOYOriginal
2016-06-13 13:26:131007browse

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

tags标签: 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);
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