note 55855 added to function.mime-content-type

From: Date: Mon, 15 Aug 2005 19:44:21 +0000
Subject: note 55855 added to function.mime-content-type
Groups: php.notes 
Request: Send a blank email to php-notes+get-93695@lists.php.net to get a copy of this message
If you're using PHP with --with-magic_mime enabled and are unable to view PNG images, that is because the "magic" file might not have the line added for it to recognize what is a PNG image (we racked our brains out over this one) Add the following to: /etc/httpd/conf/magic just below the GIF and JPG entries: #PNG Image Format 0 string \x89PNG image/png And restart HTTPd. ---- Manual Page -- http://www.php.net/manual/en/function.mime-content-type.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+55855 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+55855&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+55855&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+55855&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+55855&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+55855&report=yes&reason=non-english Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+55855&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+55855&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#93695) next »