Bug #15692 Updated: ISAPI fputs \n = \r\n

From: Date: Mon, 25 Feb 2002 10:55:20 +0000
Subject: Bug #15692 Updated: ISAPI fputs \n = \r\n
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-996@lists.php.net to get a copy of this message
ID: 15692 Updated by: hholzgra@php.net -Summary: ISAPI fputs \n = \r\n Reported By: jakub@icewarp.com -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] jakub@icewarp.com 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

« previous php.bugs (#996) next »