Upload and display .txt or .doc iles

Darragh3277's Avatar, Join Date: May 2008
Newbie Member
What I would like is to have a website where I can upload a .txt file or a .doc file and have it then displayed. I would preferably like to be able to keep the formatting of the file.

I have looked up on how to do it but I can't find what im looking for. Could any one point me in the right direction? Any links to articles would be very helpful
pradeep's Avatar, Join Date: Apr 2005
Team Leader
Displaying .txt files is easy, just put the contents of the file inside a <pre></pre> tag, but .doc file is not easy, try googling it!