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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC