|  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
 [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: Wed Aug 17 11:05:46 2022 UTC