php.net |  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
Votes:5
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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: vitaly at inside dot rtcomm dot ru
New email:
PHP Version: OS:

 

 [2003-11-19 16:28 UTC] vitaly at inside dot rtcomm dot ru
Description:
------------
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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-25 04:26 UTC] sniper@php.net
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] sniper@php.net
Huh? What SAPI?

 [2003-12-07 12:01 UTC] sniper@php.net
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-2021 The PHP Group
All rights reserved.
Last updated: Wed May 12 06:01:23 2021 UTC