in reply to Locked files (simple)...

This article by merlyn should help you.

http://www.stonehenge.com/merlyn/WebTechniques/col04.html

Replies are listed 'Best First'.
Re^2: Locked files (simple)...
by reaction (Acolyte) on Sep 03, 2004 at 14:43 UTC
    Thanks,

    In short, flock() has to be used, which waits for exclusive access to a file (for how long, I don't know!).

    Regards, R

    (apologies to Davido for posting in the wrong forum again).