From: [EMAIL PROTECTED] > We have a Linux webserver with Apache. Is it possible to use a MS Word > document and alter it's contents on the server itself. I know that if > you have IIS on a NT server you can use OLE to do some tricks in a > Word document. Perhaps it is possible to encode a .doc file into > base64, still find some text-patterns, alter the contents and decode > it back again.
No. You cannot mess with MSWord DOCs that way. You'd corrupt them. It might be easiest to save the document as RTF instead and modify that one. RTF is plaintext format so that should be much easier. You might even try to use http://jenda.krynicky.cz/#Template::RTF Though it's a bit messy, hasn't been touched for years, the database related commands use Win32::ODBC (should not be too hard to change to DBI though), etc. etc. etc. Jenda =========== [EMAIL PROTECTED] == http://Jenda.Krynicky.cz ========== There is a reason for living. There must be. I've seen it somewhere. It's just that in the mess on my table ... and in my brain. I can't find it. --- me _______________________________________________ Perl-Unix-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs