ID:               43403
 Updated by:       [EMAIL PROTECTED]
 Reported By:      postmaster at itsacon dot net
-Status:           Open
+Status:           Feedback
 Bug Type:         Unknown/Other Function
 Operating System: Windows XP Pro 64bit
 PHP Version:      5.2.5
 New Comment:

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




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

[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