ID: 49840 Updated by: srina...@php.net Reported By: lxd717 at gmail dot com -Status: Open +Status: Feedback Bug Type: PHP options/info functions Operating System: WINXP PHP Version: 5.2.11 New Comment:
also provide the version of web server are you using ? as bug #49825 mentions, are you seeing this issue with IIS as well ? if yes, then this bug will need to be moved as duplicate of 49825 . Previous Comments: ------------------------------------------------------------------------ [2009-10-12 11:10:19] sjo...@php.net See also Bug #49825 PHP_SELF duplicate path. ------------------------------------------------------------------------ [2009-10-12 03:48:35] lxd717 at gmail dot com Actual result: -------------- /confucian/η??Õѧָ׷/test.php/confucian/???????1??2?-|???????/test. php ------------------------------------------------------------------------ [2009-10-12 03:47:14] lxd717 at gmail dot com Description: ------------ PHP_SELF returns incorrect value. I creat a folder with chinese, the path is '/confucian/西æ¹å²å¦èä½/', and then I check phpinfo(),I found that $_SERVER['PHP_SELF'] returns incorrect value. But folders Created in english found no errors. Reproduce code: --------------- file: test.php <?php phpinfo(); ?> The script test.php was created in a non-english folder,such as '/confucian/西æ¹å²å¦èä½/'. Expected result: ---------------- /confucian/%e8%a5%bf%e6%96%b9%e5%93%b2%e5%ad%a6%e8%91%97%e4%bd%9c/test.php or /confucian/西æ¹å²å¦èä½/test.php Actual result: -------------- /confucian/η??Õѧָ׷/index.php/confucian/???????1??2?-|???????/index.php ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49840&edit=1