note 74124 added to function.image-type-to-mime-type

From: Date: Mon, 26 Mar 2007 15:44:05 +0000
Subject: note 74124 added to function.image-type-to-mime-type
Groups: php.notes 
Request: Send a blank email to php-notes+get-124817@lists.php.net to get a copy of this message
László Balaton wrote: > In certain cases, e.g. with using Internet Explore, > this function returns with the value "image/pjpeg". Are you sure? I find that the documentation is correct, and image_type_to_mime_type() will return only "image/jpeg" for a jpeg, using getimagesize(). But in Internet Explorer, after a file upload, $_FILES['foo']['type'] can be "image/pjpeg" That is what I am seeing. ---- Server IP: 216.194.113.175 Probable Submitter: 4.248.42.44 ---- Manual Page -- http://www.php.net/manual/en/function.image-type-to-mime-type.php Edit -- https://master.php.net/note/edit/74124 Del: integrated -- https://master.php.net/note/delete/74124/integrated Del: useless -- https://master.php.net/note/delete/74124/useless Del: bad code -- https://master.php.net/note/delete/74124/bad+code Del: spam -- https://master.php.net/note/delete/74124/spam Del: non-english -- https://master.php.net/note/delete/74124/non-english Del: in docs -- https://master.php.net/note/delete/74124/in+docs Del: other reasons-- https://master.php.net/note/delete/74124 Reject -- https://master.php.net/note/reject/74124 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#124817) next »