ID:               43403
 User updated by:  postmaster at itsacon dot net
 Reported By:      postmaster at itsacon dot net
-Status:           Feedback
+Status:           Open
 Bug Type:         *General Issues
 Operating System: Windows XP Pro 64bit
 PHP Version:      5.2.5
 New Comment:

Upgrading to latest CVS snapshow (5.2.6-dev) does NOT solve the
problem. See scripts in bug report, path is still repeated at end of
PHP_SELF value.


Previous Comments:
------------------------------------------------------------------------

[2007-11-26 09:45:11] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi



------------------------------------------------------------------------

[2007-11-25 22:28:29] postmaster at itsacon dot net

Description:
------------
In directories below document root, PHP_SELF returns an incorrect value
(path repeated at end of string)

Reproduce code:
---------------
/* Place this code in a SUBDIRECTORY (such as
localhost/testdir/test.php */
<?php 
echo $_SERVER['PHP_SELF'];
?>

/* or see http://www2.bijscharp.nl/bugdemo/winxp64_php_self.php
 (script contains code above) 
For info on server, see http://www2.bijscharp.nl/bugdemo/phpinfo.php */

Expected result:
----------------
The result should be:
/bugdemo/winxp64_php_self.php

Actual result:
--------------
The result is:
bugdemo/winxp64_php_self.php/bugdemo


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=43403&edit=1

Reply via email to