ID:               37672
 Updated by:       [EMAIL PROTECTED]
 Reported By:      php-bugs at shad dot pp dot ru
-Status:           Open
+Status:           Feedback
 Bug Type:         Unknown/Other Function
 Operating System: Windows 2000 SP4 + hotfixes
 PHP Version:      5.1.4
 New Comment:

Please try using this CVS snapshot:

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




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

[2006-06-19 10:50:51] php-bugs at shad dot pp dot ru

Ok, here is an example.

http://home.shad.pp.ru/test/

In this test directory you will find another directory containing
cyrillic characters. Directory listing is provided via PHP script
index.php, which is the same in both directories. If you try to access
this cyrillic named directory, you will get blank screen. But you can
access any file within this directory by direct links:

http://home.shad.pp.ru/test/%D0%BA%D0%B8%D1%80%D0%B8%D0%BB%D0%BB%D0%B8%D1%86%D0%B0/text.txt
http://home.shad.pp.ru/test/%D0%BA%D0%B8%D1%80%D0%B8%D0%BB%D0%BB%D0%B8%D1%86%D0%B0/test.rar

I also made simple script containing only one command:

<?php
  echo 'Hello world!';
?>

Put it in the same directory as test.php. You will also get blank
screen, trying to access it by url:
http://home.shad.pp.ru/test/%D0%BA%D0%B8%D1%80%D0%B8%D0%BB%D0%BB%D0%B8%D1%86%D0%B0/test.php

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

[2006-06-19 09:28:48] [EMAIL PROTECTED]

Every other PHP user (including me) is able to open file directory
containing non-ASCII characters.
You didn't provide a piece of information (except for the error
message) required to identify your problem.
Please provide at least something useful.
Until then -> bogus.

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

[2006-06-19 08:29:46] php-bugs at shad dot pp dot ru

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.

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

[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.

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/37672

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

Reply via email to