| 
	
 | 
 Posted by Petr Vileta on 06/20/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] 
 |