php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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.

Patches

Pull Requests

History

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

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

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 06 02:01:28 2025 UTC