php Deprecated: Function set_magic_quotes_runtime() is depre
程序员文章站
2022-03-25 18:57:56
...
今天在做一程序时提示Deprecated: Function set_magic_quotes_runtime() is deprecated,后来网上搜索了一下才知道,原因是PHP 5.3以后的版本都不支持这个函数了。
解决办法
函数 set_magic_quotes_runtime() 在php5.3以后的版本可用
代码如下 | 复制代码 |
ini_set(“magic_quotes_runtime”, 0) |
来替换了,方法简单吧。
推荐阅读
-
Deprecated: Function set_magic_quotes_runtime() is deprecated
-
Deprecated: Function set_magic_quotes_runtime() is deprecated
-
php5.3提示Function ereg() is deprecated Error问题解决方法
-
php5.3提示Function ereg() is deprecated Error问题解决方法,eregdeprecated_PHP教程
-
Deprecated: Function set_magic_quotes_runtime() is deprecate
-
Function eregi is deprecated (解决方法)_php技巧
-
php:Deprecated: Function set_magic_quotes_runtime() is deprecated错误解决
-
Deprecated: Function set_magic_quotes_runtime()
-
Deprecated: Function session_register() is deprecated解决办法_PHP教程
-
php5.3提示Function ereg() is deprecated Error问题解决方法,eregdeprecated