iostream71
Programmer
i have a guestbook flash animation that reads and writes to a text file via php script
my problem is, if i do a write to the text file, sometimes the flash movie reads the text file before it's written to(when you post a message, it writes to the file, them reads it)
is there any way i can lock the file to prevent reading until the write is completed?
my problem is, if i do a write to the text file, sometimes the flash movie reads the text file before it's written to(when you post a message, it writes to the file, them reads it)
is there any way i can lock the file to prevent reading until the write is completed?