Codoforum related discussions
Is there an alternative to the mime_content_type function?

mime_content_type seems to have high requirements for PHP version

PHP5.6 errors

 Controller\mime_content_type() in /www/wwwroot/www.cekongjishu.com/sys/Controller/Serve.php on line 112
mime_content_type seems to have high requirements for PHP version **PHP5.6 errors** ```` Controller\mime_content_type() in /www/wwwroot/www.cekongjishu.com/sys/Controller/Serve.php on line 112 ````

website: http://www.flammabilitytest.com

Hi,

That function should be in-built as part of PHP. As an alternative finfo can probably be used.

Hi, That function should be in-built as part of PHP. As an alternative finfo can probably be used.
Necessity is the mother of all inventions!
17
1
2
live preview
enter atleast 10 characters
WARNING: You mentioned %MENTIONS%, but they cannot see this message and will not be notified
Saving...
Saved
With selected deselect posts show selected posts
All posts under this topic will be deleted ?
Pending draft ... Click to resume editing
Discard draft