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 in php 7?
How many escape sequences are recognized in double-quoted strings?
Is multilevel inheritance possible in php?
Tell me what does the scope of variables means?
What is the salary for php developer(Fresher)?
What is the tags in PHP is not a valid way to begin and end a PHP code block?
What are soundex() and metaphone() functions in php?
Where php language is used?
Why do we use hooks?
Tell me what is the definition of a session?
What are regular expressions in programming?
What are Routines?