ID: 7782 Comment by: CH at deeside dot ac dot uk Reported By: auke at muze dot nl Status: Open Bug Type: IIS related Operating System: Windows 2000 PHP Version: 4CVS New Comment:
I'm experiencing the same problem with PHP 4.3.7 & IIS 5. Tried upgrading to PHP5 and at least I now get something in $PATH_INFO. However it seems that the first 4 characters are truncated which makes it fairly useless. I was able to get the path info another way however using $HTTP_SERVER_VARS['URL']. In PHP5 this gives me what I would expect to find in $PATH_INFO. In PHP4 it gives the 'base url' as documented by Microsoft. Have verified this on 3 different installations using IIS5 & PHP. Previous Comments: ------------------------------------------------------------------------ [2004-06-28 11:49:28] demis at liquidbit dot com Yep this bug has been resolved in PHP 5 RC3, can someone please add this fix to the next release of PHP 4.x series as PHP 5 is too buggy to rely on at the moment ------------------------------------------------------------------------ [2004-06-17 11:19:52] auke at muze dot nl I'll try it again, it seems my previous comment did not get saved. I've added a patch against the current stable cvs (php4), the head cvs (php5) already has the exact same fix. In effect it is a backport of the php5 isapi path_info fix. You can download the patch file at ftp://ftp.muze.nl/pub/ariadne/win/iis/php4isapi.c.06-17-2004.patch ------------------------------------------------------------------------ [2004-04-25 18:51:40] demis at liquidbit dot com This bug has not been resolved - If someone has a working PHP/IIS configuration where PATH_INFO actually works can they please post the PHP version, php.ini file and any other configurations they did to get it working. ------------------------------------------------------------------------ [2003-12-18 05:21:32] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2003-12-11 23:58:24] [EMAIL PROTECTED] Please provide patches in unified diff format against the latest stable CVS branch, and if possible, the HEAD too.. (PHP_4_3 and HEAD branches) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/7782 -- Edit this bug report at http://bugs.php.net/?id=7782&edit=1
