note 104396 added to function.finfo-file
| From: | ZaneMegaLab dot it at osu1 dot php dot net | Date: | Mon, 13 Jun 2011 15:38:57 +0000 |
| Subject: | note 104396 added to function.finfo-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-180485@lists.php.net to get a copy of this message | ||
I was getting application/octet-stream or "<= not supported" for all the files.
I found out that in PHP 5.3 the magic file is built-in into PHP and that is what should be used. The
magic file found on the system may not always be what libmagic expects, hence the error.
----
Server IP: 69.147.83.197
Probable Submitter: 151.42.214.78
----
Manual Page -- http://www.php.net/manual/en/function.finfo-file.php
Edit -- https://master.php.net/note/edit/104396
Del: integrated -- https://master.php.net/note/delete/104396/integrated
Del: useless -- https://master.php.net/note/delete/104396/useless
Del: bad code -- https://master.php.net/note/delete/104396/bad+code
Del: spam -- https://master.php.net/note/delete/104396/spam
Del: non-english -- https://master.php.net/note/delete/104396/non-english
Del: in docs -- https://master.php.net/note/delete/104396/in+docs
Del: other reasons-- https://master.php.net/note/delete/104396
Reject -- https://master.php.net/note/reject/104396
Search -- https://master.php.net/manage/user-notes.php