get_magic_quotes_gpc
取得 PHP 環境變量 magic_quotes_gpc 的值。
語法: long get_magic_quotes_gpc(void);
返回值: 長整數
函數種類: PHP 繫統功能
本函數取得 PHP 環境配置的變量 magic_quotes_gpc (GPC, Get/Post/Cookie) 值。返回 0 表示關閉本功能;返回 1 表示本功能打開。當 magic_quotes_gpc 打開時,所有的 ' (單引號), " (雙引號), \ (反斜線) and 空字符會自動轉為含有反斜線的溢出字符。
get_magic_quotes_runtime() set_magic_quotes_runtime()
整理: 夕垌菪姬 (天地JPLOP)
|