php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7556 PATH_INFO does not output correct information
Submitted: 2000-10-31 15:56 UTC Modified: 2000-11-06 10:16 UTC
From: darkwing at videotron dot ca Assigned:
Status: Closed Package: *General Issues
PHP Version: 3.0.17 OS: Windows NT4 server
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: darkwing at videotron dot ca
New email:
PHP Version: OS:

 

 [2000-10-31 15:56 UTC] darkwing at videotron dot 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-11-04 09:41 UTC] darkwing at videotron dot ca
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 ? 
 [2000-11-06 10:16 UTC] sniper@php.net
just close it.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 22:01:27 2024 UTC