note 30250 added to function.mime-content-type
| From: | JuLenFoRCe at rack1 dot php dot net | Date: | Wed, 12 Mar 2003 10:00:51 +0000 |
| Subject: | note 30250 added to function.mime-content-type | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-45137@lists.php.net to get a copy of this message | ||
If you have Windows and have enabled php_mime_magic.dll in you php.ini and still get the error
"Fatal error: mime_magic could not be initialized, magic file c:\php4\magic.mime is not
avaliable", you must specify the path to the file magic.mime.
Edit you php.inin and add this line :
mime_magic.magicfile="c:\php\magic.mime" if you installed PHP in c:\php
it works :)
--
http://www.php.net/manual/en/function.mime-content-type.php
http://master.php.net/manage/user-notes.php?action=edit+30250
http://master.php.net/manage/user-notes.php?action=delete+30250
http://master.php.net/manage/user-notes.php?action=reject+30250