Page 1 of 1

html2word using php

Posted: Fri Feb 13, 2004 3:14 pm
by Burrito
Hi, I'm trying to create documents dynamically using php that I can save as a word document file. I am able to do this using asp and cfm calling the word com object and I think I could probably do the same with php. (it's a windows server).

I'm just wondering if someone out there has a better solution to this.

Alternatively, I was thinking I could just create the documents in RTF and then rename them to .doc but I"m not 100% sure how to create RTF documents either.

If you can shed some light, I'd greatly appreciate it.

thx,

Burr

Posted: Sat Feb 14, 2004 9:50 am
by DuFF
Check this out:

Creating Word Documents on the Fly Using Predefined Templates
http://www.phpbuilder.com/columns/yunus20031124.php3