#43030 [Opn]: $_SERVER['PHP_SELF'] problem

From: Date: Fri, 19 Oct 2007 05:23:10 +0000
Subject: #43030 [Opn]: $_SERVER['PHP_SELF'] problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-118696@lists.php.net to get a copy of this message
ID: 43030 User updated by: oopul at 126 dot com Reported By: oopul at 126 dot com Status: Open Bug Type: IIS related Operating System: Windows 2003 PHP Version: 5.2.4 New Comment: Expected result: ---------------- /test.php Actual result: -------------- /test.php/test.php Previous Comments: ------------------------------------------------------------------------ [2007-10-19 05:15:38] oopul at 126 dot com Description: ------------ MY SYSTEM:Windows 2003 PHP VERSION:PHP 5.2.4 When I run php in the FASTCGI under the IIS 6.0 Then the $_SERVER['PHP_SELF'] of not being normal. For example: my php script is named 'test.php' the test code: ---------------------------- <?php echo $_SERVER['PHP_SELF']; ?> ---------------------------- The result is "/test.php/test.php" The Error is found in FastCGI/CGI with windows 2003 IIS6 ------------------------------------------------------------------- If the php script run in apache module or IIS isapi, the error is not found. why? ------------------------------------------------------------------- if When I run php in the FastCGI under the IIS 5.1 With Windows XP also not error found! Reproduce code: --------------- <?php echo $_SERVER['PHP_SELF']; ?> Expected result: ---------------- /test.php/test.php Actual result: -------------- /test.php ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43030&edit=1

« previous php.bugs (#118696) next »