Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.1.4

Request #3283 Use PEAR MIME_Type for guessContentType()
Submitted: 2005-01-24 19:19 UTC
From: mail at philipp-wagner dot com Assigned: mike
Status: Closed Package: HTTP_Download
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 50 - 50 = ?

 
 [2005-01-24 19:19 UTC] mail at philipp-wagner dot com
Description: ------------ The PEAR Package MIME_Type provides an autoDetect() method which allows the detection the mime-type of a file either by using ext/magic_mime or by using the 'file'-binary. Also, magic_mime is deprecated, as the manual point out: --- snip --- This extension has been deprecated as the PECL extension fileinfo provides the same functionality (and more) in a much cleaner way. --- snip --- So it probably would be the best thing to use MIME_Type for detection and let it handle which ways to detect the mime type are available on the system.

Comments

 [2005-05-17 10:56 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!