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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
50 - 24 = ?
Subscribe to this entry?

 
 [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: Wed Apr 24 04:01:30 2024 UTC