[PHP-DEV] Bug #7556: PATH_INFO does not output correct information From: darkwing <email protected>
Date: 10/31/00

From: darkwing <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>