NYCPHP Meetup

NYPHP.org

[nycphp-talk] mime_content_type() doesn't exist

Dan Cech dcech at phpwerx.net
Thu Jan 15 10:47:46 EST 2004


Webapprentice . wrote:
> Hi,
> My host is running PHP 4.3.2, which according to the php docs, should have mime_content_type().
> 
> When I try to use it, PHP says the function doesn't exist.
> 
> Does PHP have this by default or does it have to be compiled to get the feature?

PHP needs to have the mime-magic extension for this function to be 
available, obviously your host does not.

Dan

> Thanks,
> Stephen




More information about the talk mailing list