Bug #14122: wrong $PHP_SELF value when executing script with params
| From: | techtonik at tut dot by | Date: | Mon, 19 Nov 2001 19:48:37 +0000 |
| Subject: | Bug #14122: wrong $PHP_SELF value when executing script with params | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-70962@lists.php.net to get a copy of this message | ||
From: techtonik@tut.by
Operating system: Windows 98 Apache 1.3.22
PHP version: 4.0.6
PHP Bug Type: Variables related
Bug description: wrong $PHP_SELF value when executing script with params
* script index.php located alone in 'directory/site/'
When calling it like 'http://server/directory/site/index/index'
variable
$SCRIPT_NAME = $PHP_SELF = $HTTP_SERVER_VARS["SCRIPT_NAME"] =
$HTTP_SERVER_VARS["PHP_SELF"] = '/directory/site/index/index.php' instead
of '/directory/site/index.php'
* standart version 4.06 php4apache.dll & php4ts.dll
Build Date Jun 22 2001 running in safe mode.
--
Edit bug report at: http://bugs.php.net/?id=14122&edit=1