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

Add a Patch

Pull Requests

Add a Pull Request

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-2023 The PHP Group
All rights reserved.
Last updated: Wed Feb 08 00:05:48 2023 UTC