Note: when magic_quotes_gpc is ON, it will also slash values inside both $_SERVER['QUERY_STRING'] and $_SERVER['SCRIPT_NAME'] (and equivalents) will also be slashed.
![]() | CIX. PHP Options&Information简介This functions enable you to get a lot of information about PHP itself, e.g. runtime configuration, loaded extensions, version and much more. You'll also find functions to set options for your running PHP. The probably best known function of PHP - phpinfo() - can be found here. 需求要编译本扩展模块不需要外部库文件。 安装本函数库作为 PHP 内核的一部分,不用安装就能使用。 运行时配置这些函数的行为受 php.ini 的影响。
表格 1. PHP Options/Inf Configuration Options
以下是配置选项的简要解释。
资源类型本扩展模块未定义任何资源类型。 预定义常量以下常量作为 PHP 核心的一部分一直有效。 表格 2. Pre-defined phpcredits() constants
表格 3. phpinfo() constants
![]()
gilthansNOSPAAM at gmailSPAAMBLOCK dot com
16-Mar-2005 09:04
Note: when magic_quotes_gpc is ON, it will also slash values inside both $_SERVER['QUERY_STRING'] and $_SERVER['SCRIPT_NAME'] (and equivalents) will also be slashed.
Mark
15-Jun-2004 08:37
You probably don't want to set "magic_quotes_runtime" because it affects even binary file read/write operations. This is especially problematic if you include someone else's library that depends on binary read/write. If you enable "magic_quotes_runtime", be sure to use set_magic_quotes_runtime() function call to disable it before calling someone else's library that does binary read/write.
| ![]() | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||