post-page
  • The Theme Foundry ~ Handcrafted WordPress Themes

Get Mime Type of existing File

3
responses
by
Mark Ghosh 
on
February 11th, 2006
in
Cool Scripts, LinkyLoo

Get Mime Type of existing File This is more of a personal bookmark to brute force your way through finding out the MIME type of a file existing on your system through PHP.

1 Star2 Stars3 Stars4 Stars5 Stars (4 votes, average: 3.25 out of 5)
Loading ... Loading ...
heading
3
Responses

 

Comments

  1. Kafkaesquí (5 comments.) says:

    If using PHP 4.3.0 or greater, there’s also mime_content_type().

  2. Oliver Z. (4 comments.) says:

    mime_content_type() seems so much simpler heh.

  3. Robert W. says:

    Don’t use mime_content_type(). It’s depreciated



Leave a Comment

Obviously Powered by WordPress. © 2003-2010 MidOut LLC

page counter