php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24138 $PATH_INFO no longer works on IIS 5
Submitted: 2003-06-11 17:01 UTC Modified: 2003-06-11 17:12 UTC
From: griffina at rappcollins dot com Assigned:
Status: Not a bug Package: *URL Functions
PHP Version: 4.3.2 OS: IIS/WINNT
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: griffina at rappcollins dot com
New email:
PHP Version: OS:

 

 [2003-06-11 17:01 UTC] griffina at rappcollins dot com
Description:
------------
I was running 4.3.1, and $PATH_INFO resolved fine.  I ungraded to 4.3.2 and it no longer seems to work.

Reproduce code:
---------------
echo(getenv("PATH_INFO"));

Name the above file test.php

Type into the browser http://test.php/key/variable


Expected result:
----------------
it should print /key/variable

Actual result:
--------------
page not found.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-06-11 17:08 UTC] sniper@php.net
Try search the bug database BEFORE you report anything..

 [2003-06-11 17:12 UTC] griffina at rappcollins dot com
I did search the database - nothing similiar to the same problem (btween versions 4.3.1 and 4.3.2).  Additionally, I downloaded the most recent snap to see if this issue had been caught, but it had not.  Please advise if I am missing something.
 [2004-04-21 15:32 UTC] mythz at hotmail dot com
Can someone please fix this for php cgi/sapi on iis/windows.

I find this painful as this was working previously with an older version of php and it has yet to be fixed in the latest versions of php.

When trying to view http://localhost/myapp/login.php/ADMIN

PHP CGI on IIS:
returns a 404 error not found page

PHP isapi on IIS:
Warning: Unknown(c:\inetpub\wwwroot\ADMIN): failed to open stream: No such file or directory in Unknown on line 0

Warning: (null)(): Failed opening 'c:\inetpub\wwwroot\ADMIN' for inclusion (include_path='.;c:\php\includes;c:\Inetpub\wwwroot\contentwriter\base\PEAR') in Unknown on line 0

Its about time this bug gets and stays fixed as it is almost impossible to support a cross-platform application written in php that works in more than 1 php version.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 00:01:28 2024 UTC