Page 1 of 1
MS Word to text file
Posted: Sun Jun 05, 2005 7:56 am
by hongco
I was wondering how they use php to convert MS Word document to other text file format.
the application is on this website:
http://www.phpwordlib.motion-bg.com/
Thanks!
Posted: Sun Jun 05, 2005 2:36 pm
by Ambush Commander
You probably don't read C, but
Antiword is an open-source program that converts MS Word to text. They might have ported the program to PHP.
That would be pretty cool, actually.
Posted: Sun Jun 05, 2005 5:01 pm
by Burrito
if you have a windows server, you could use COM to grab the text and output it to pure text.
Posted: Sun Jun 05, 2005 5:25 pm
by Roja
Ambush Commander wrote:You probably don't read C, but
Antiword is an open-source program that converts MS Word to text. They might have ported the program to PHP.
That would be pretty cool, actually.
Another similar project is WV, formerly known as "mswordview". Its extremely common for this sort of thing, but yes - it must be run as a CGI.
http://wvware.sourceforge.net/
Posted: Tue Jun 07, 2005 4:21 am
by hongco
thank you for the info! yah, I haven't read much of C.