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 difference between rest and soap?
What is the best way to avoid email sent through php getting into the spam folder?
What is the use of preg_match in php?
What are helpers in php?
What is a stored procedure in mysql?
Why session timeout is important?
What are the different types of php variables?
Tell me can the value of a constant change during the script's execution?
What are the rules for naming a php variable?
what is the diffrence between for and foreach?
11 Answers Hirolasoft, IBM, Photon,
WWhat is the functionality of md5 function in PHP?
What is difference between isset and empty in php?