Hi Dennis...
Thanks for the reply... Here's my solution up to now.. might change in the
future...
The problem:
App has a bunch of clients that need to get a separate/unique list of files
from a master server app. The files are created by the master server
process, and reside on the filesystem
Gerard Samuel wrote:
Im talking about file locking during deleting, and moving
files.
Is it possible to perform file locking for these file operations?
If so, can you provide psuedo code.
Thanks
Sure... just acquire the exclusive lock like you would for writing to a
file, but do the delete / move
Gerard Samuel wrote:
I was wondering.
Does file_get_contents() or file_put_contents() utilise
any kind of file locking?
Thanks
Not that I am aware of (I haven't checked source on this so someone
correct me if I'm wrong here). file_get_contents() is a shortcut for
using the functions fopen,
Jason Barnett wrote:
Gerard Samuel wrote:
I was wondering.
Does file_get_contents() or file_put_contents() utilise
any kind of file locking?
Thanks
Not that I am aware of (I haven't checked source on this so someone
correct me if I'm wrong here). file_get_contents() is a shortcut for
using the
Hello,
On 07/15/2004 12:28 PM, Scott Fletcher wrote:
Hi! I saw the php function flock(), since I never used it before so I
thought I would ask you folks a couple of questions.
1) Is this function good or is there a better function somewhere that I'm
not aware of?
It depends on what you want to
5 matches
Mail list logo