Go4Expert (http://www.go4expert.com/)
-   PHP (http://www.go4expert.com/forums/php/)
-   -   Upload and display .txt or .doc iles (http://www.go4expert.com/forums/upload-display-txt-doc-iles-t10832/)

Darragh3277 27May2008 03:06

Upload and display .txt or .doc iles
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 27May2008 10:13

Re: Upload and display .txt or .doc iles
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!

All times are GMT +5.5. The time now is 19:04.