What is MIME?



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

Post New Answer

More PHP Interview Questions

Are parent constructors called implicitly inside a class constructor?

0 Answers  


What is new keyword in php?

0 Answers  


Shopping cart online validation i.e. how can we configure Paypal, etc.?

1 Answers   INDUS,


Is a number php?

0 Answers  


List out some tools through which we can draw E-R diagrams for mysql.

2 Answers  






Write a hello world program using variable?

0 Answers  


What is the difference between pop3 IMAP and MAPI?

0 Answers  


What is Type hinting in PHP?

0 Answers  


What is namespace in php?

0 Answers  


Do you know when sessions ends?

0 Answers  


How can we send mail using JavaScript?

13 Answers   dwise, iScope,


how retrive the video file in php using video tag

0 Answers  


Categories