RE: [PHP] file locking over NFS?

2004-07-06 Thread Brent Clark
Hi there If i am not mistaken, that is a standard part of the nfs suite. All you need to make sure is that your export is correct, and the you are not using the -nolock option. Other than that if its PHP you more interested in, look at the flock() function. Kind Regards Brent Clark

Re: [PHP] file locking over NFS?

2004-07-06 Thread kyle
Thanks a lot , your information is really useful for me. Marek Kilimajer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] kyle wrote: Hi all, Is there any simple, safe, and efficiency way to do file locking over NFS? Thanks. You can mysql locks (maybe it works in other

Re: [PHP] file locking over NFS?

2004-07-06 Thread kyle
I found this from php function list manual: flock() will not work on NFS and many other networked file systems. Check your operating system documentation for more details. I wish flock can do NFS file locking, but offical manual says no to Brent Clark [EMAIL PROTECTED] wrote in message

Re: [PHP] file locking over NFS?

2004-07-06 Thread Manuel Lemos
Hello, On 07/06/2004 05:25 AM, Kyle wrote: I found this from php function list manual: flock() will not work on NFS and many other networked file systems. Check your operating system documentation for more details. I wish flock can do NFS file locking, but offical manual says no to This is not

Re: [PHP] file locking over NFS?

2004-07-06 Thread kyle
Hi Manuel, Do you mean I can just use flock over NFS ? Manuel Lemos [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, On 07/06/2004 05:25 AM, Kyle wrote: I found this from php function list manual: flock() will not work on NFS and many other networked file systems. Check

Re: [PHP] file locking over NFS?

2004-07-06 Thread Manuel Lemos
Hello, On 07/06/2004 12:56 PM, Kyle wrote: Hi Manuel, Do you mean I can just use flock over NFS ? It depends. You need to check whether the NFS server that you use supports it. -- Regards, Manuel Lemos PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ PHP

Re: [PHP] file locking over NFS?

2004-07-05 Thread Marek Kilimajer
kyle wrote: Hi all, Is there any simple, safe, and efficiency way to do file locking over NFS? Thanks. You can mysql locks (maybe it works in other databases too): GET_LOCK(str,timeout); RELEASE_LOCK(str); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: