ID:               15692
 Updated by:       [EMAIL PROTECTED]
-Summary:          ISAPI fputs \n = \r\n
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Feedback
 Bug Type:         Filesystem function related
 Operating System: Any Windows platform
 PHP Version:      4.1.1
 New Comment:

how do you open $file? have you used the "b" mode character to enforce
binary safe output?


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

[2002-02-23 18:51:52] [EMAIL PROTECTED]

The PHP.EXE CGI treats this code snippet:
...
fwrite($file, "\r\n");
...
exactly as expected. However the ISAPI.DLL version
converts "\n" to "\r\n" so the real output in the file is:
"\r\r\n"

Is there a place in the source code where I can make the ISAPI filter
to be compiled without the conversion? I think it's a bug anyway.
Thank you
Cheers
Jakub

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


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

Reply via email to