PHP 4.0 Bug #7556 Updated: PATH_INFO does not output correct information
| From: | darkwing at videotron dot ca | Date: | Sat, 04 Nov 2000 14:41:51 +0000 |
| Subject: | PHP 4.0 Bug #7556 Updated: PATH_INFO does not output correct information | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-37123@lists.php.net to get a copy of this message | ||
ID: 7556
User Update by: darkwing@videotron.ca
Status: Open
Old-Bug Type: Misbehaving function
Bug Type: *General Issues
Description: PATH_INFO does not output correct information
Well.. looks like the problem here is IIS4. Since when i do echo getenv("PATH_INFO") it
reports the same as in the CGI. That's not a PHP bug so i suggest this should be closed.
Do i close it myself ?
Previous Comments:
---------------------------------------------------------------------------
[2000-10-31 15:56:53] darkwing@videotron.ca
Ok, i've tried all i could, from 3.0.10 to 3.0.17 and it's doing the same on every of
these.
I have a file called test.php3 in the root of my web.
I use the CGI version of PHP.
http://myserver/test.php3/test?hello=1
returns this info:
PHP_SELF /test.php3/test.php3/test
REQUEST_URI
SCRIPT_NAME /test.php3
PATH_INFO /test.php3/test
HTTP_GET_VARS Array
QUERY_STRING value=1
if i put the file in a subfolder:
http://myserver/member/test.php3/test?hello=1
i get this:
PHP_SELF /member/test.php3/member/test.php3/test
REQUEST_URI
SCRIPT_NAME /member/test.php3
PATH_INFO /member/test.php3/test
HTTP_GET_VARS Array
QUERY_STRING value=1
Regards,
DarkByte
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7556