php中get_magic_quotes_runtime()函数作用是什么?
来源:百度知道 编辑:UC知道 时间:2024/04/29 16:11:52
取得 PHP 环境变量 magic_quotes_runtime 的值。
语法: long get_magic_quotes_runtime(void);
返回值: 长整数
函数种类: PHP 系统功能
内容说明
本函数取得 PHP 环境配置的变量 magic_quotes_runtime 值。返回 0 表示关闭本功能;返回 1 表示本功能打开。若 magic_quotes_runtime 打开时,所有外部引入的数据库资料或者文件等等都会自动转为含有反斜线溢出字符的资料。
建议楼主多看看php的手册