|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26324 PHP SAPI fails to load files in different encoding
Submitted: 2003-11-19 16:28 UTC Modified: 2003-12-07 12:01 UTC
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: vitaly at inside dot rtcomm dot ru Assigned:
Status: No Feedback Package: *URL Functions
PHP Version: 4.3.4 OS: Windows XP
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2003-11-19 16:28 UTC] vitaly at inside dot rtcomm dot ru
The problem under Windows XP:
Warning: Unknown(C:\WebRoot\%D0%B8%D0%BD%D0%B4%D0%B5%D0%BA%D1%81.php): failed to open stream: No such file or directory in Unknown on line 0

Warning: (null)(): Failed opening 'C:\WebRoot\%D0%B8%D0%BD%D0%B4%D0%B5%D0%BA%D1%81.php' for inclusion (include_path='.;c:\php\includes') in Unknown on line 0
   When I download the file %D0%B8%D0%BD%D0%B4%D0%B5%D0%BA%D1%81.txt Apache (2.0.48) correctly send it to me. 
   But PHP(4.3.4) SAPI send me this error, instead of the correct result. 
   Filemon shows that php(and no other program) do not touch this file at all. 
   (!) Php works correctly with this file under FreeBSD in the same conditions.

Expected result:
PHP must execute that file.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-25 04:26 UTC]
And exactly what might that encoding be..?

 [2003-11-25 07:16 UTC] vitaly at lcc dot chem dot msu dot ru
This is WINDOWS-1251 (Russian text).
I cann't understand why it does not work with SAPI under (WINDOWS).
It correctly works with CGI(WINDOWS) and SAPI(FreeBSD)!
 [2003-12-01 03:16 UTC]
Huh? What SAPI?

 [2003-12-07 12:01 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Oct 02 19:01:25 2023 UTC