Hi,

I'm now writing a CGI script (a simple message board system).
I want to know how to lock a file.
File#flock()?  Dir.mkdir()?
Please show me a sample script.

--
regards,
kwatch