Chinaunix

标题: 函数:get_magic_quotes_runtime() [打印本页]

作者: ydz5    时间: 2005-10-30 00:01
标题: 函数:get_magic_quotes_runtime()
[color="#e06060"]函数:get_magic_quotes_runtime()[color="#0000bb"]get_magic_quotes_runtime
取得 PHP 环境变量 magic_quotes_runtime 的值。
[color="#ff8000"]语法: long get_magic_quotes_runtime(void);
[color="#ff8000"]返回值: 长整数
[color="#ff8000"]函数种类: PHP 系统功能
[color="#e06060"]函数:get_magic_quotes_runtime()[color="#0000bb"]get_magic_quotes_runtime
取得 PHP 环境变量 magic_quotes_runtime 的值。
[color="#ff8000"]语法: long get_magic_quotes_runtime(void);
[color="#ff8000"]返回值: 长整数
[color="#ff8000"]函数种类: PHP 系统功能
[color="#ff8000"]内容说明
本函数取得 PHP 环境配置的变量 magic_quotes_runtime 值。返回 0 表示关闭本功能;返回 1 表示本功能打开。若 magic_quotes_runtime 打开时,所有外部引入的数据库资料或者文件等等都会自动转为含有反斜线溢出字符的资料。


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/6039/showart_54225.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2