Bug #7556: PATH_INFO does not output correct information
| From: | darkwing at videotron dot ca | Date: | Tue, 31 Oct 2000 20:56:53 +0000 |
| Subject: | Bug #7556: PATH_INFO does not output correct information | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-36556@lists.php.net to get a copy of this message | ||
From: darkwing@videotron.ca
Operating system: Windows NT4 server
PHP version: 3.0.17
PHP Bug Type: Misbehaving function
Bug description: PATH_INFO does not output correct information
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