html2word using php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Burrito
Spockulator
Posts: 4715
Joined: Wed Feb 04, 2004 8:15 pm
Location: Eden, Utah

html2word using php

Post 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
User avatar
DuFF
Forum Contributor
Posts: 495
Joined: Tue Jun 24, 2003 7:49 pm
Location: USA

Post by DuFF »

Check this out:

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