get file content .doc

it is possible?  all i get is crap outputting
LVL 16
ellandrdAsked:
Who is Participating?
 
Robin HickmottConnect With a Mentor Software DeveloperCommented:
the .doc file will be in binary format what are you actually trying to do?

If its downloading then it shouldent matter if its modfying or displaying then thats a little more tricky.
0
 
TeRReFCommented:
Use this header before you print it. It might open word for you automatically:
@header("Content-type:  application/msword");
0
 
ellandrdAuthor Commented:
the .doc file will be in binary format what are you actually trying to do?

>>read .doc file contents - it is not obvious?
0
 
ellandrdAuthor Commented:
using: @header("Content-type:  application/msword"); didnt work...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.