Re: spreadsheets are opened read only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2008-09-24 at 14:59 +0300, Thodoris wrote:
> 
> > 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
> > 
> >   
> 
> No that is not the case since every server is completely independent
> from the other. That is why I was comparing the configuration and the
> rights. In addition to this I said that these are linux servers.
> 
> The weird is that apache opens the files and sends them and openoffice
> takes the file and opens it. There is a difference in that procedure
> between the two that make the office to open the file as read only
> that I am not aware of.
> -- 
> Thodoris
I don't think you understood my response and I didn't really understand
yours. Are you saying that you have two configurations, with two servers
and two workstations that should be acting the same and aren't?


Ash
www.ashleysheridan.co.uk


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux