Posted by paul on 09/05/05 08:55
Hi,
I'm attemptimg to add data to a text file but am worried what happens if
two (or more) click the 'submit' button at the same time. Does fopen()
return a NULL if the file is busy? What would be the best way to do this -
should I put a in sleep(1) and try again in a loop?
Any help appreciated, thanks.
Paul
Navigation:
[Reply to this message]
|