ID:               37672
 User updated by:  php-bugs at shad dot pp dot ru
 Reported By:      php-bugs at shad dot pp dot ru
-Status:           Bogus
+Status:           Open
 Bug Type:         Unknown/Other Function
 Operating System: Windows 2000 SP4 + hotfixes
 PHP Version:      5.1.4
 New Comment:

You don't need unicode support to access directory with normal
non-latin characters. Every other non-unicode program can access,
correctly display name, rename or delete them using ANSI file api,
which is used by PHP.


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

[2006-06-19 07:23:25] [EMAIL PROTECTED]

We're working on Unicode support in PHP6. Feel free to help us
testing/improving it.
Until then you have to live with what you have now.

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

[2006-06-18 18:13:30] php-bugs at shad dot pp dot ru

I've asked in php-windows maillist and received no answer. If you know
where's the problem, please, post it here. Or post a ling to FAQ where
I can find a solution. But I beleive, if you read my report a bit more
carefully, you will see it's a problem of PHP. Let me explain. I can
access every directory or file regardless of what characters are used
for it's name, I can access (download or view for example) every file
within such directory. But I CAN'T run a PHP script from such
directory. PHP treats 'current directory' wrong after which it tries to
include something from wrongly detected directory name and fails. It's
PHP problem. If you want, I can produce an example directory, from
which you will be able to download text and binary files, but get a
blank screen trying to access _working_ PHP script. I will put the same
script in another directory and it will work from there, you will see
that. I will produce you any logs you want.

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

[2006-06-02 10:36:25] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.



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

[2006-06-02 08:41:40] php-bugs at shad dot pp dot ru

Description:
------------
Scripts within directories containing international characters cannot
be executed. I got these messages in error log:

[Fri Jun 02 12:25:49 2006] [error] [client 195.131.159.151] PHP
Warning:  Unknown: failed to open stream: No such file or directory in
Unknown on line 0, referer: http://musicstation.spb.ru/files/
[Fri Jun 02 12:25:49 2006] [error] [client 195.131.159.151] PHP
Warning:  Unknown: Failed opening
'D:/www/musicstation.spb.ru/files/\xd1\x80\xd1\x83\xd1\x81\xd1\x81\xd0\xba\xd0\xbe\xd0\xb5_\xd0\xb8\xd0\xbc\xd1\x8f/index.php'
for inclusion (include_path='.;C:\\php5\\pear') in Unknown on line 0,
referer: http://musicstation.spb.ru/files/

This is not a problem of apache, because I can access normal html
documents and other files in such directories.

My configuration is:
Windows 2000 SP4 + hotfixes / Apache 2.0.48 / PHP 5.1.4 installed as
Apache2 module / NTFS filesystem.



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


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

Reply via email to