 |
|
Innovation award
 Nominee: 5x |
This class can determine the type of files analyzing its contents.
It provides an interface compatible with PHP finfo extension under systems that do not have that PHP extension available.
It takes the path of a file and uses the file command to analyze its contents when possible. Otherwise the class reads the file contents to guess the file type and character encoding.
|
|
| Name: |
finfo |
| Base name: |
finfo |
| Description: |
Determine the type of files analyzing its contents |
| Version: |
1.0 |
| PHP version: |
5 |
| License: |
GNU General Public License (GPL) |
| All time users: |
305 users |
| All time rank: |
6070 |
| Week users: |
1 user |
| Week rank: |
2089  |
| |
|
 March 2012
Number 6
Prize: One downloadable e-book of choice by O'Reilly |
finfo is an useful PHP extension that makes it possible to determine the type of data contained in files by examining its contents.
Unfortunately the finfo extension is not available in all PHP setups. This class provides a work around by emulating the functionality of the finfo extensionin pure PHP code.
Manuel Lemos |
| Not yet rated by the users |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|