Hi,

I want to create simple file management program.

Suppose i have 10 users. and file xyz.txt

When 1st user access file he has authority to read and write.
but if at the same time 2nd user try to access this file.
i have to give only read access or put message like wait 1st users writing some operation.

How to create such program in PHP.

Please tell me which concept i want to use or any reference tutorial?

Have a look at flock

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.