#23908 [Asn->Bgs]: problem with PATH_INFO urls

From: Date: Mon, 02 Jun 2003 19:06:20 +0000
Subject: #23908 [Asn->Bgs]: problem with PATH_INFO urls
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-40938@lists.php.net to get a copy of this message
ID: 23908 Updated by: shane@php.net Reported By: pagameba at magma dot ca -Status: Assigned +Status: Bogus Bug Type: CGI related Operating System: winxp PHP Version: 4.3.2 Assigned To: shane New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php cgi.fix_pathinfo=1 in php.ini fixes this. 4.3.2 was changed to default to cgi.fix_pathinfo=0 as that fixes BC for the majority of apps that were written prior. Previous Comments: ------------------------------------------------------------------------ [2003-06-02 13:16:55] sniper@php.net Does not work, seems like some late bugfix broke this then.. ------------------------------------------------------------------------ [2003-06-02 12:28:39] pagameba at magma dot ca create a script called pathinfo.php at your web root with the following contents: <? echo $_SERVER["PATH_INFO"]; ?> and open this with http://localhost/pathinfo.php/my/path in PHP 4.3.2 RC1 (up to RC4 I think) this would result in a page containing: my/path with the release version of PHP 4.3.2, this returns: No input file specified. winxp, apache 1.3.26. No changes to httpd.conf or php.ini between the RC and final. I noticed also on the main php website, http://www.php.net/in_array this should search the documentation for in_array and redirect to the in_array page, but it returns an error. I think this is caused by the same error. ------------------------------------------------------------------------ [2003-06-01 20:40:38] sniper@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. . ------------------------------------------------------------------------ [2003-05-30 14:16:57] pagameba at magma dot ca Not sure of the classification of this one, or even the summary at this point. Pres2 uses PATH_INFO to calculate what presentation/slide to show with a URL something like: http://myserver/pres2/show.php/mypresentation/1 This worked with PHP 4.3.2 RC1 but I just installed PHP 4.3.2 final and now I get "No input file specified.". I've hacked pres2 to use query strings instead, which works fine. Is this a configuration issue? I changed nothing in my php.ini between rc1 and the final version. Oh, and register_globals in On because pres2 needs it. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23908&edit=1

« previous php.bugs (#40938) next »