From 1a93d448117f5d3901a58f11eaec1ab9be214fd6 Mon Sep 17 00:00:00 2001 From: Ken Date: Thu, 1 Jan 2004 23:00:27 +0000 Subject: [PATCH] Added note that $_SERVER['SCRIPT_FILENAME'] is relative in certain CLI cases. Bug 26429. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@147654 c90b9560-bf6c-de11-be94-00142212c4b1 --- appendices/reserved.xml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/appendices/reserved.xml b/appendices/reserved.xml index 86152cb610..f69e3e8497 100755 --- a/appendices/reserved.xml +++ b/appendices/reserved.xml @@ -1,5 +1,5 @@ - + List of Reserved Words @@ -528,9 +528,18 @@ 'SCRIPT_FILENAME' - + The absolute pathname of the currently executing script. - + + + If a script is executed with the CLI, as a relative path, + such as file.php or + ../file.php, + $_SERVER['SCRIPT_FILENAME'] will + contain the relative path specified by the user. + + +