|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-06-28 21:37 UTC] iliaa@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 10:00:01 2025 UTC |
Description: ------------ When I use function mime_content_type to detect file types, under windows, for a gif file, it always return "text/plain" for it, even if mime_magic.debug is set to "on", php under linux not tested. Please fix it. Thank u. Reproduce code: --------------- <? echo mime_content_type('1.gif'); ?> Expected result: ---------------- image/gif Actual result: -------------- text/plain