ID: 15692 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Filesystem function related Operating System: Any Windows platform PHP Version: 4.1.1
Previous Comments: ------------------------------------------------------------------------ [2002-02-25 16:08:54] [EMAIL PROTECTED] You are certainly right it works with the "B" flag. However I wonder why the CGI module works different than ISAPI (both without "B"). It's not a problem I just wanted to let you know. Thank you Cheers Jakub ------------------------------------------------------------------------ [2002-02-25 05:55:19] [EMAIL PROTECTED] how do you open $file? have you used the "b" mode character to enforce binary safe output? ------------------------------------------------------------------------ [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
