create a .doc (word) file

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
braindead
Forum Newbie
Posts: 1
Joined: Thu Apr 24, 2003 7:56 am

create a .doc (word) file

Post by braindead »

Hello,

Do you know a classes to generate a word file ?!

Thanks !!
User avatar
d1223m
Forum Commoner
Posts: 80
Joined: Mon Mar 31, 2003 5:15 am
Location: UK, West Sussex

Post by d1223m »

i have never found a class for this, the best soloution i have found is to use rtf's. You can actually generate the rtf and rename it as a .doc and word will open it.
If you dont want to change the extension and have access to your webserver you can also edit your apache config to send the correct mime header for rtf's to be opened in word.
Post Reply