Re: spreadsheets are opened read only

From: Date: Wed, 24 Sep 2008 11:36:29 +0000
Subject: Re: spreadsheets are opened read only
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-280830@lists.php.net to get a copy of this message
On Wed, 2008-09-24 at 14:28 +0300, Thodoris wrote: > Hi guys. I am having a problem with opening xls files from a link > generated from php script. Let me analyze this: > > I have two linux servers with apache (php,mysql etc) that are running > the same project. There is a part in this project that reads all the > files from a directory and generates the appropriate links to them. > These files are usually spreadsheets (xls) and when I open a file using > the link on the first machine it opens normally but when I open the file > from the second it is opened read only. > > I have checked the rights and the ownership and they are the exact same > from the servers document root to the file itself. > > Any ideas why is this happening? > > -- > Thodoris > > Do you have the spreadsheet opened on both machines at the same time? If so, then as far as I know there is no way to prevent it short of versioning software. The first person opening a M$ Office document marks it as read-only for anyone else who later opens it at the same time. As soon as the first person closes it, it gets marked write-allowed. Ash www.ashleysheridan.co.uk

« previous php.general (#280830) next »