Reply to Re: help on word document

Your name:

Reply:


Posted by dkruger on 08/09/07 13:41

On Aug 9, 8:13 am, ZeldorBlat <zeldorb...@gmail.com> wrote:
> On Aug 9, 9:03 am, piyush <piyush.pla...@gmail.com> wrote:
>
> > i have to show the contents of a word document
> > i tried readfile() but that shows many binary characters of word
> > document which looks odd
> > plz suggest me any idea to show content of a word document just as
> > Google Docs & Spreadsheets shows after uploading a word document on
> > the fly.
>
> > plz help me its urgent suggest any way
>
> You get a bunch of binary characters because Word files are binary --
> not text.
>
> You can probably use the COM functions to do this:
>
> <http://www.php.net/com>

If you add the line header("Content-type: application/msword"); prior
to outputting any other info to the screen it shoudl work as desired.
Hope it helps.

Thanks,
David

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация