note 110696 deleted from function.finfo-file by danbrown
| From: | danbrown@php.net | Date: | Fri, 23 Nov 2012 12:52:49 +0000 |
| Subject: | note 110696 deleted from function.finfo-file by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-192120@lists.php.net to get a copy of this message | ||
Note Submitter: xthiago at gmail dot com
----
Regarding the code published by contact at vfreitas dot com on 01-Mar-2012, it should be used the
constant "FILEINFO_MIME_TYPE" instead of "FILEINFO_MIME."
In PHP 5.3.6:
FILEINFO_MIME prints: application / zip; charset = binary
FILEINFO_MIME prints: application / zip