I want to open user's uploaded .doc,.docx,.txt or .pdf as html (open in browser)
I can open pdf without doing any extra coding. but i can't open other formates.
I want to open files when user click on the link "Show File" at that time file will be open in browser.(same as attachment can view in browser in gmail using view as html option)
Please help me to sort out this problem.
Thanks in advance. :)