How to get File attributes (size,version,modified date,etc) using PHP

I'm using IIS and I need that from a PHP file, to get the attributes of a file , for example the size,version,modified date,creation... how can I do this?
Who is Participating?
darksinclairConnect With a Mentor Commented:
try this thread I think its what your looking for :

If this is not what your looking for let us know and we'll get you a solution right away,

also for a reference list of all the availible PHP commands on files check out the following site :

the following inparticular I think is what your looking for:

fileatime -- Gets last access time of file
filectime -- Gets inode change time of file
filegroup -- Gets file group
fileinode -- Gets file inode
filemtime -- Gets file modification time
fileowner -- Gets file owner
fileperms -- Gets file permissions
filesize -- Gets file size
filetype -- Gets file type

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.