Reading file Properties

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
joaomrpereira
Forum Newbie
Posts: 6
Joined: Fri Sep 01, 2006 4:45 pm

Reading file Properties

Post 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,
User avatar
wtf
Forum Contributor
Posts: 331
Joined: Thu Nov 03, 2005 5:27 pm

Post by wtf »

Last edited by wtf on Tue Sep 05, 2006 9:41 pm, edited 1 time in total.
User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post 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.
angelena
Forum Commoner
Posts: 53
Joined: Mon Nov 22, 2004 4:10 am

Post by angelena »

How bout this ?

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

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