Answer Posted / 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 |
Post New Answer View All Answers
Which library is used in php to do various types of image work?
What are php parameters?
Is php class name case sensitive?
What is the value for this auto incremented field user_pri_id?
What is the difference between die () and exit () in php?
What is super () python?
What the limitation of header() function in php?
Whether php supports microsoft sql server?
What is the goto statement useful for?
How you can update memcached when you make changes to php?
Is it more secure to use cookies to trfer session ids?
How to select a database?
How are sessions maintained?
Can a trait extend a class php?
What is the use of limit in mysql?