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? Quote Link to comment 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* Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment 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. Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.