uncleronin Posted February 22, 2007 Share Posted February 22, 2007 I'm running Apache, PHP and MySQL on a linux box. I have a word document template. I want to replace certain text within that word document. Is this possible to do on Linux or can it only be done on Windows? Link to comment https://forums.phpfreaks.com/topic/39628-is-it-possible-to-manipulate-ms-word-documents-using-php-on-linux/ Share on other sites More sharing options...
uncleronin Posted February 23, 2007 Author Share Posted February 23, 2007 ??? After less than 24 hours this was already at page 4! Bloody hell! *huuuge bump* Link to comment https://forums.phpfreaks.com/topic/39628-is-it-possible-to-manipulate-ms-word-documents-using-php-on-linux/#findComment-191899 Share on other sites More sharing options...
fert Posted February 23, 2007 Share Posted February 23, 2007 http://us2.php.net/manual/en/function.str-replace.php Link to comment https://forums.phpfreaks.com/topic/39628-is-it-possible-to-manipulate-ms-word-documents-using-php-on-linux/#findComment-191908 Share on other sites More sharing options...
artacus Posted February 23, 2007 Share Posted February 23, 2007 Not that I'm aware of. There's a PEAR package to write excel. You'd have better luck with PDF's I think. Link to comment https://forums.phpfreaks.com/topic/39628-is-it-possible-to-manipulate-ms-word-documents-using-php-on-linux/#findComment-191910 Share on other sites More sharing options...
uncleronin Posted February 23, 2007 Author Share Posted February 23, 2007 >_< That sucks much. Its a pity I can't use Word docs but PDF is always cool. There's probably a huge number of helpful pdf stuff floating around. Shot for the input. Link to comment https://forums.phpfreaks.com/topic/39628-is-it-possible-to-manipulate-ms-word-documents-using-php-on-linux/#findComment-192089 Share on other sites More sharing options...
mbtaylor Posted February 23, 2007 Share Posted February 23, 2007 I have looked into this myself recent. There are free classes out there to write out RTF but not Word Doc. You could write out an RTF file and give it a .doc extension Try the PHPClasses website. Link to comment https://forums.phpfreaks.com/topic/39628-is-it-possible-to-manipulate-ms-word-documents-using-php-on-linux/#findComment-192097 Share on other sites More sharing options...
uncleronin Posted February 26, 2007 Author Share Posted February 26, 2007 Really? That would make life alot simpler! *rubs hands together* kinda sneaky but awesome Link to comment https://forums.phpfreaks.com/topic/39628-is-it-possible-to-manipulate-ms-word-documents-using-php-on-linux/#findComment-194241 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.