[Tutor] File locking: cross platform?

Bernard Rankin berankin99 at yahoo.com
Fri Feb 20 21:15:43 CET 2009


Hello,

What is the correct way to implement cross-platform "flock like" file locking?

Specifically, how would i acquire "exclusive read-write" and "shared read-only" locks for a CGI script that I expect to run on both Windows and Linux servers.

Thank you,
:)



      



More information about the Tutor mailing list