php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10757 doubble writing in files
Submitted: 2001-05-09 13:08 UTC Modified: 2001-05-09 14:04 UTC
From: xavier dot coudin at wanadoo dot fr Assigned:
Status: Closed Package: Filesystem function related
PHP Version: Earlier? Upgrade first! OS: Linux RedHat 7.0
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: xavier dot coudin at wanadoo dot fr
New email:
PHP Version: OS:

 

 [2001-05-09 13:08 UTC] xavier dot coudin at wanadoo dot fr
Using Linux RH 7.0   / Apache 1.1.14 / php 4.01
When I am using my computer at the same time as web-server & netscape-browser...
When writing some text into a .txt file  (fPutsS($file_handle,$sentence);), the record is made twice inside this file.
Exactly same happends when executing
exec("echo \"$sentence\" >> file.txt", $sortie, $handle);


When browsing from external computer, this does no happend, and the writing in the .txt file does happen only once


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-09 14:04 UTC] sniper@php.net
Update your PHP first. If this happens with 4.0.5 too, reopen.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 28 09:01:28 2024 UTC