Re: File Access + Thread Safe

2007-04-21 Thread John W. Krahn
yitzle wrote: > I got a CGI script that is being used by multiple users. > It reads/writes data to a database (text file). > When it reads, it reads the entire file, and when it writes, it > tuncrates and rewrites the entire file. > Can/will this screw up the file if two people try to write to the

Re: File Access + Thread Safe

2007-04-21 Thread Paul
On Sun, April 22, 2007 12:52 am, yitzle wrote: > I got a CGI script that is being used by multiple users. > It reads/writes data to a database (text file). > When it reads, it reads the entire file, and when it writes, it > tuncrates and rewrites the entire file. > Can/will this screw up the file i