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 the different ways we can retrive the mysql results using php ? Explain each
How do I expire a php session after 30 minutes?
What's the difference between using mysql_ functions and pdo?
Write a statement to show the joining of multiple comparisons in php?
What is a trait in php?
What are the encryption functions available in PHP?
What is echo and print in php?
Tell me how to find the position of the first occurrence of a substring in a string?
What are hooks in php?
How can we extract string 'abc.com' from a string "http://info@abc.com" using regular expression of PHP
i am a 3yr diploma holder(CSE) from bangalore and i got job as php developer.. starting 7.5k... but i dont know what is the future carreer scop for diploma holders(for me)...plz help
Write a program in php to reverse a number?