How to get file content-type with PHP < 5.3?

Posted by letseatfood on Stack Overflow See other posts from Stack Overflow or by letseatfood
Published on 2010-06-12T01:10:31Z Indexed on 2010/06/12 1:23 UTC
Read the original article Hit count: 256

Filed under:
|
|

How do I retrieve the content-type of a file using PHP?

I don't want to rely on the file extension alone.

Thanks!

© Stack Overflow or respective owner

Related posts about php

Related posts about content-type