Re: PHP MS-Word plugin

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

 



Douglas Temple schreef:
Hi everyone,

I'm pretty sure that this question has been asked to death in the past, but
I'm just curoius as to whether there is a plugin that can edit Microsoft
Office Word documents in PHP. I'm interested in this because I am trying to
put a text watermark on each page, but doing it online, without having to
download the document, watermarking it, and then reuploading it (I won't
deny that I'm lazy). So my question is has this even been done before? I've
had a little search around and nothing exciting has popped out, so I'm
wondering if anyone has used/heard of/made something as daunting as this
before?

this comes down to using the COM extension - creating an instance of Word
and using that to edit a file. this assumes the server is running windows and
has a copy of Word installed.

of course Word document is a vague entity - there are many different versions and
they are not all compatible, from what I read I gather that the latest SP for the
latest version actually made all documents written in previous versions unreadable
because they are deemed 'unsafe' by M$ (this can be fixed with a registry hack) ...
actually the parser for previous versions is unsafe ... maybe M$ should have fixed
that instead of making everyone's archive of word docs unreadable.

that said I have no idea if there are any *nix based word doc manipulators, if there
are they probably won't work with all versions of word documents - the file format is
closed and changes from version to version.

you might consider switching to PDF?
alternatively look at writing a batch processing script that runs on a windows
server that can interact with the app on the server you alude to in your question.


Thanks in advance,
DT


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