Page 1 of 1

Reading file Properties

Posted: Tue Sep 05, 2006 4:36 pm
by joaomrpereira
Hi there,

I searched over the forums but with no sucess on answering my question, so here it is:

I want to read, from any file, the properties of the file as it shown in windows when whe select the properties of the file and display the Summary tab. From the summary I need to read the Title and Comments field.

Any idea on how to do that?

Thanks,

Posted: Tue Sep 05, 2006 4:52 pm
by wtf

Posted: Tue Sep 05, 2006 4:54 pm
by onion2k
I don't think it's possible in any ordinary sense. They're not actually stored as part of the file, they're stored (I think) as a seperate stream or in a hidden file or something.

Posted: Tue Sep 05, 2006 7:39 pm
by angelena
How bout this ?

http://sg.php.net/manual/en/function.fileperms.php

Hope this what u expecting :wink: [/url]