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 |
Are parent constructors called implicitly inside a class constructor?
What is new keyword in php?
Shopping cart online validation i.e. how can we configure Paypal, etc.?
Is a number php?
List out some tools through which we can draw E-R diagrams for mysql.
Write a hello world program using variable?
What is the difference between pop3 IMAP and MAPI?
What is Type hinting in PHP?
What is namespace in php?
Do you know when sessions ends?
How can we send mail using JavaScript?
how retrive the video file in php using video tag