note 94017 added to ref.fileinfo
| From: | adam at greatbigmassive dot net | Date: | Mon, 12 Oct 2009 15:43:56 +0000 |
| Subject: | note 94017 added to ref.fileinfo | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-161652@lists.php.net to get a copy of this message | ||
I'm kind of confused to be honest.
There was a nice function called mime_content_type that simply returned the... (guess what?) mime
content type.
So now it's gone and it's been replaced by something that doesn't just return the
mime content type...
How's that simpler?
So I guess we're all going to create our own function called mime_content_type and inside it
put the fileinfo code that's required just to get the mime content type...
Go go gadget straight face.
----
Server IP: 64.71.164.2
Probable Submitter: 89.242.2.107
----
Manual Page -- http://www.php.net/manual/en/ref.fileinfo.php
Edit -- https://master.php.net/note/edit/94017
Del: integrated -- https://master.php.net/note/delete/94017/integrated
Del: useless -- https://master.php.net/note/delete/94017/useless
Del: bad code -- https://master.php.net/note/delete/94017/bad+code
Del: spam -- https://master.php.net/note/delete/94017/spam
Del: non-english -- https://master.php.net/note/delete/94017/non-english
Del: in docs -- https://master.php.net/note/delete/94017/in+docs
Del: other reasons-- https://master.php.net/note/delete/94017
Reject -- https://master.php.net/note/reject/94017
Search -- https://master.php.net/manage/user-notes.php