FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » file access permission?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: file access permission? [message #170079 is a reply to message #170076] Fri, 08 October 2010 20:44 Go to previous messageGo to previous message
The Natural Philosoph is currently offline  The Natural Philosoph
Messages: 993
Registered: September 2010
Karma:
Senior Member
Michael Fesser wrote:
> .oO(Amit Prakash Pawar)
>
>> I want to create simple file 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?
>
> You might want to have a look at a version control system or things like
> that instead. Doing this as a web application is possible as well, but
> will cause you a lot of nightmares.
>
> Micah
Put the file into a database blob, and then use database locking tools.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Can anyone recommend a good debugger & IDE for PHP?
Next Topic: Send .csv file to browser
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 12:11:55 GMT 2024

Total time taken to generate the page: 0.04805 seconds