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

From: Date: Thu, 18 Jan 2001 13:20:51 +0000
Subject: PHP 4.0 Bug #8780: difference in fwrite with cgi/apachemodule
Groups: php.dev 
Request: Send a blank email to php-dev+get-44466@lists.php.net to get a copy of this message
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. -- Edit Bug report at: http://bugs.php.net/?id=8780&edit=1

« previous php.dev (#44466) next »