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 api example?
Can we use php variable in javascript?
List types of array are available in php?
Which function is used to strip whitespace?
What is trait in php?
How does php serialize work?
Maine 12th ke bad 2 years ka web designing ka course kiya hai. Php me achcha hu. Ek fresher ko is field me kitna mil sakta hai ?
Can you explain, when to use if-else if-else over switch statements?
What is api used for?
Is PHP an open source software?
Write down the code for save an uploaded file in php.
Tell me how to retrieve a cookie value?