I dont know if this will be of any help but here's a bit of an e-mail that might be worth looking at, I'm still looking for a solution so post back here with anything you have saravanan1979
Cheer's
-----------------------------------------------------------------------------------
>However, all you have to do is make sure you set the content type
>properly:
>
>header('Content-Type: application/msword');
>readfile('file.doc');
>
>XXXXXXX
>
>ps. If application/msword doesn't work, try application/octet-stream.
>
>pps. For a full list of mime types, the mime.types file in your apache
>configuration.
>
>> Hi,
>>
>> I am trying to view Word Docs on our intranet.
>>
>> All I can get is a load of code.
>>
>> Someone suggested that I use wvHtml -
www.wvware.com - to convert
>> the files
>> but I am not sure how to tell PHP to use it??
>>
>> I have used readfile but still junk!
-----------------------------------------------------------------------------------