Results 1 to 4 of 4

Thread: MIME types in Php

  1. #1

    Thread Starter
    Fanatic Member Wynd's Avatar
    Join Date
    Dec 2000
    Location
    In a bar frequented by colossal death robots
    Posts
    772

    MIME types in Php

    Is there a way I can get the MIME type (text/plain for example) of a file? I am outputting a path to an icon for plain text, binary, etc., but I have to check each file's extension do I was wondering if there was something to do that.
    Alcohol & calculus don't mix.
    Never drink & derive.

  2. #2
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    to check the extension?

    i posted some code for sail in another thread that might be of some use?

  3. #3
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527

    Thumbs down

    don't think so sorry man

  4. #4
    Addicted Member
    Join Date
    Jul 2001
    Posts
    141
    The Number 1 Dork
    PHP Forum

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width