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 are php errors?
How is the comparison of objects done in php?
Explain the ternary conditional operator in php?
What is the php function that removes the first element of the array and returns it?
How do functions work?
What is htmlentities function in php?
Explain me the difference between include and require?
Php program to generate fibonacci series?
What new features php7 has in store for us?
What is the meaning of a persistent cookie?
how to insert, update data in database
What is a php array?