What is MIME?
Answer / k.subbiah
Definition:
string mime_content_type ( string $filename )
Returns the content type in MIME format, like text/plain or application/octet-stream.
example:
<?php
echo mime_content_type('php.gif') . "\n";
echo mime_content_type('test.php');
?>
output:
image/gif
text/plain
Is This Answer Correct ? | 0 Yes | 5 No |
What is the purpose of $_ session?
Tell me what are the __construct() and __destruct() methods in a php class?
Explain how you can update memcached when you make changes to php?
How to avoid the undefined index error?
What language is php written in?
What is the difference between for and foreach loop in php?
Why is overriding runtime?
how to use http headers inside php? Write the statement through which it can be added?
What is use of isset function in php?
What is difference between echo and print in php?
Is php free to use?
How many php functions are there?