Hy,

I actually want to write a little forum-script for my homepage, but I
have several problems:

1. I need to lock a file while the script is writing to it.
I actually am doing this by creating a link to this file named
"(filename).lock)
When the script has finished writing data to it, it unlinks this file.
When another script wants to access the data-file, it checks if the
..lock-file exists. If so it waits a secons and checks again.
It work, but:
There must be a better way to 'lock' files. (and a faster one - waiting
one secons seems to be a bit long!)

2. I need to enable unicode-messages (I'm from germany, and not enabling
all chars seems to be quite silly!)
How to do that?

Many many thanks in advance!

regards

Sebastian Nerz

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to