note 110696 added to function.finfo-file
| From: | xthiago at gmail dot com | Date: | Fri, 23 Nov 2012 12:50:00 +0000 |
| Subject: | note 110696 added to function.finfo-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-192119@lists.php.net to get a copy of this message | ||
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
----
Server IP: 69.147.83.199
Probable Submitter: 189.2.9.146
----
Manual Page -- http://www.php.net/manual/en/function.finfo-file.php
Edit -- https://master.php.net/note/edit/110696
Del: integrated -- https://master.php.net/note/delete/110696/integrated
Del: useless -- https://master.php.net/note/delete/110696/useless
Del: bad code -- https://master.php.net/note/delete/110696/bad+code
Del: spam -- https://master.php.net/note/delete/110696/spam
Del: non-english -- https://master.php.net/note/delete/110696/non-english
Del: in docs -- https://master.php.net/note/delete/110696/in+docs
Del: other reasons-- https://master.php.net/note/delete/110696
Reject -- https://master.php.net/note/reject/110696
Search -- https://master.php.net/manage/user-notes.php