#19305 [Opn->Bgs]: CarriageReturn/LineFeed 0x0D 0x0A (\r\n)

From: Date: Mon, 09 Sep 2002 12:24:47 +0000
Subject: #19305 [Opn->Bgs]: CarriageReturn/LineFeed 0x0D 0x0A (\r\n)
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-18766@lists.php.net to get a copy of this message
ID: 19305 Updated by: sander@php.net Reported By: andre.steffens@postadress.de -Status: Open +Status: Bogus Bug Type: Apache2 related Operating System: Win2k PHP Version: 4.2.3 New Comment: Sorry, but the bug system is not the appropriate forum for asking support questions. Your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php Thank you for your interest in PHP. You need to open the file with the b switch. See http://php.net/fopen for more information. Previous Comments: ------------------------------------------------------------------------ [2002-09-09 05:23:26] andre.steffens@postadress.de When I write a txt-file via PHP and the Apache2 modul, PHP creates an CarriageReturn/LineFeed (0x0D 0x0A) only I use "\n". The same skript in batchmode (with the php.exe) creates only the correct sign (0x0A). If I use "\r\n" PHP creates an 0x0D 0x0D 0x0A with the modul an the correct 0x0D 0x0A with php.exe! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19305&edit=1

« previous php.bugs (#18766) next »