Michael Sims wrote:

Yes, have your scripts attempt to lock a separate lock file before performing
deleting or moving operations.



Jason Barnett wrote:

Sure... just acquire the exclusive lock like you would for writing to a file, but do the delete / move instead. Your apps must actually try to flock before *every* file operation though if you expect the locking system to work.


Thanks. I'll try to see what I can come up with...

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to