You are here: Re: Accessing a document's properties/metadata « PHP Programming Language « IT news, forums, messages
Re: Accessing a document's properties/metadata

Posted by Petr Vileta on 12/05/98 11:57

<jreljac@gmail.com> wrote in
news:1157503739.848941.301680@d34g2000cwd.googlegroups.com...
> Howdy,
>
> Is it possible (and if it is how?) to have php display the details of a
> word/excel/pdf document's properties/metadata?
>
> I can go into MS Word...File...Properties and assign things like Title,
> Subject, Author, Comments, etc... What I need to do now is put thse
> files on a server and have php display some of those properties for me.
>
> (Is that the same as metadata?)
>
> Is that possible and if it is how do I go about getting started?
>
This infos are near the end of DOC file. Open DOC file in some hexa-editor
and look at the end of file. You can see something like this

W o r d D o c u m e n t   
???? .$  S u m m a r y I n f o
r m a t i o n (
)   D o c u m e n t S u m m a r y I n f o r m a t i
o n 8  ????????

All texts are in unicode (UTF-16). You can open this file via PHP in binary
mode and extract what you want :-)

--

Petr Vileta, Czech republic
(My server rejects all messages from Yahoo and Hotmail. Send me your mail
from another non-spammer site please.)

 

Navigation:

[Reply to this 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

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