get file content .doc

Posted on 2006-07-03
Medium Priority
Last Modified: 2008-03-17
it is possible?  all i get is crap outputting
Question by:ellandrd
  • 2
LVL 13

Accepted Solution

Robin Hickmott earned 2000 total points
ID: 17030178
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.
LVL 29

Expert Comment

ID: 17030191
Use this header before you print it. It might open word for you automatically:
@header("Content-type:  application/msword");
LVL 16

Author Comment

ID: 17030197
the .doc file will be in binary format what are you actually trying to do?

>>read .doc file contents - it is not obvious?
LVL 16

Author Comment

ID: 17030203
using: @header("Content-type:  application/msword"); didnt work...

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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.

Join & Write a Comment

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this. Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it i…
The title says it all. Writing any type of PHP Application or API code that provides high throughput, while under a heavy load, seems to be an arcane art form (Black Magic). This article aims to provide some general guidelines for producing this typ…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question