Re: PHP 4.0 Bug #8780: difference in fwrite with cgi/apachemodule

From: Date: Thu, 18 Jan 2001 17:46:23 +0000
Subject: Re: PHP 4.0 Bug #8780: difference in fwrite with cgi/apachemodule
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-44501@lists.php.net to get a copy of this message
On 18 Jan 2001 rolf.lehmann@datura.ch wrote: > From: rolf.lehmann@datura.ch > Operating system: Windows NT/2000 > PHP version: 4.0.3pl1 > PHP Bug Type: Filesystem function related > Bug description: difference in fwrite with cgi/apachemodule > > If I use PHP as CGI with Apache 1.3.12, I must add chr(13).chr(10) to textfiles, when I write > them with fwrite and I want some linefeed. If PHP is used as a Apache module, in textfiles there are > double linefeed [one from PHP the other from chr(13).chr(10)]. > > Why is it different and will one or the other case be corrected? > > Thanks, Rolf. > Have you tried using '\n' for newlines? -- Ignacio Vazquez-Abrams <ignacio@openservices.net>

« previous php.dev (#44501) next »