#22065 [Opn->Bgs]: file() function

From: Date: Sat, 08 Mar 2003 02:06:08 +0000
Subject: #22065 [Opn->Bgs]: file() function
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-35093@lists.php.net to get a copy of this message
ID: 22065 Updated by: wez@php.net Reported By: paul dot d dot rowlands at delphi dot com -Status: Open +Status: Bogus Bug Type: Filesystem function related Operating System: Windows 2000 server PHP Version: 4.3.2-dev New Comment: Your app/system design is flawed; if you have a file open for exclusive access (eg: writing) you cannot expect any other process to be able to copy (eg: read) or do anything else with the file. Not a bug in PHP, so this is being marked as bogus. Previous Comments: ------------------------------------------------------------------------ [2003-03-07 16:28:46] paul dot d dot rowlands at delphi dot com Re-open ? ------------------------------------------------------------------------ [2003-03-07 16:27:29] pdrow at blueyonder dot co dot uk THE NT WORKSTAION HAS THE FILE OPEN AT ALL TIMES TO APPEND DATA. 2000 SERVER COPIES THE FILE EVERY 2 MINS OVER THE TCP/IP NETWORK. THE PHP SCRIPT USES FILE TO READ THE LOCAL FILE (WIN 2000 SERVER) EVERY 30 SECONDS. ------------------------------------------------------------------------ [2003-02-25 02:07:21] sniper@php.net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2003-02-19 19:33:02] sniper@php.net Your comment: "What would have if the file was in use by another server (updating) ? Can php detect this condition ?" Question: What do you mean by "in use by another server" ? ------------------------------------------------------------------------ [2003-02-19 10:27:21] paul dot d dot rowlands at delphi dot com All files in web root are everyone full control. Note: 100+ Warnings on php 4.3.0 in 48 hours New stable release less than 6 in 48 hours. Php scripts have not changed they are accessing the same files, however these files are not in the web root, but are on the same local drive and are everyone full control. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/22065 -- Edit this bug report at http://bugs.php.net/?id=22065&edit=1

« previous php.bugs (#35093) next »