is it possible to write in word file
Moderator: General Moderators
is it possible to write in word file
I need to know that is it possible to write in the word file instead of txt file, if it is a .rtf file it will do if its possible to write in it, i searched a lot, but no success, so plz help me out
thanks in advance.
thanks in advance.
Well with PHP you can easily output text as you know.
word is not the best choice as it is MS technology. RTF on the otherhand can be read by all. RTF is basically a text file with certain specific tags.
Google will help you with this:
http://www.google.com/search?sourceid=n ... cification
Why not try making a template in word, save it in rtf format, open it with a text editor (ultra edit or such) and look throught the jumble till you find the chunks that interest you.
You'll have to specify the correct header so that the php file is donloaded as rtf.
Hope this helps a bit.
word is not the best choice as it is MS technology. RTF on the otherhand can be read by all. RTF is basically a text file with certain specific tags.
Google will help you with this:
http://www.google.com/search?sourceid=n ... cification
Why not try making a template in word, save it in rtf format, open it with a text editor (ultra edit or such) and look throught the jumble till you find the chunks that interest you.
You'll have to specify the correct header so that the php file is donloaded as rtf.
Hope this helps a bit.
i tried, downloading is possible, and it also opens for editing but the writing is what creating problems, no error message is generated and everything is going on fine, but file is not written or saved.
and also the word format is requested by client so we cannot change the sane, but still if its possible in .rtf format then it can be managed,
and also the word format is requested by client so we cannot change the sane, but still if its possible in .rtf format then it can be managed,