> I have this script whereby I use the php function file().
> Just a quick question, do I need to implement file locking.
If you want to ensure that the file is not changed by other scripts while
you're reading from it, yes. Note that this is advisory only - writer
scripts will only respect the lo
If you're just going to read only, no.
>>Hi all
>>
>>I have this script whereby I use the php function file().
>>Just a quick question, do I need to implement file locking.
>>
>>if so, can I just use something like
>> flock( file("/path/file.ext") );
>>
>>Kind Regards
>>Brent Clark
--
PHP G
Brent Clark wrote --- napĂsal::
Hi all
I have this script whereby I use the php function file().
Just a quick question, do I need to implement file locking.
if so, can I just use something like
flock( file("/path/file.ext") );
No, you need file locking only for writing.
--
PHP General Maili
Hi all
I have this script whereby I use the php function file().
Just a quick question, do I need to implement file locking.
if so, can I just use something like
flock( file("/path/file.ext") );
Kind Regards
Brent Clark
MSN: [EMAIL PROTECTED]
eMail: [EMAIL PROTECTED]
Cell: +27 82 701 78
4 matches
Mail list logo