Re: spreadsheets are opened read only

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

 



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,

I would think the simple answer to this is, is that you had the document open
when you uploaded it.

Try uploading it again, this time without any application viewing it.  This
should clear the "owned by" flag set when the document is open.

Their is no setting with Apache/PHP/Mysql/etc..-server side,  that could cause
this problem!

It is specific to the file that is uploaded.

Try to copy (cmd line using scp or something) from the first (working) machine
to the second (not working) machine and try to view it then.

I think it is a simple mistake of uploading the file when you had it open.

-- 
Jim Lucas

   "Some men are born to greatness, some achieve greatness,
       and some have greatness thrust upon them."

Twelfth Night, Act II, Scene V
    by William Shakespeare


-- 
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