|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8780 difference in fwrite with cgi/apachemodule
Submitted: 2001-01-18 08:20 UTC Modified: 2001-08-20 12:23 UTC
From: rolf dot lehmann at datura dot ch Assigned:
Status: Not a bug Package: Filesystem function related
PHP Version: 4.0.3pl1 OS: Windows NT/2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: rolf dot lehmann at datura dot ch
New email:
PHP Version: OS:


 [2001-01-18 08:20 UTC] rolf dot lehmann at datura dot ch
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-07-21 19:02 UTC]
What's the bug???  I don't see this as a bug...
 [2001-07-31 11:45 UTC]

Does this happen in the latest version of PHP?
 [2001-08-20 12:23 UTC]
Not a PHP bug.

PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Aug 16 10:05:45 2022 UTC