PHP Code

How to get all file information with PHP

This class can be used to retrieve all information about a file on a web server.

It can determine the file name extension, the associated MIME type, the file access permissions, the file size, the width and height in case it is a an image file, file owner, creation, last access and modification time.

The class may also format the file size in bytes, KB, MB, GB and TB.

Here's the link to the class.

Share

Leave a Reply

Your email address will not be published. Required fields are marked *

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image