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 function file_get_contents() usefull for?
Are php session secure?
What is the difference between $message and $$message in php?
In PHP how many size data can upload by default?
9 Answers Classic Infotech, PG Software,
How to create a text file in PHP?
How a constant is defined in a php script?
how to use between operator when retrieve from database(format-2008-jun-06)
What is a procedure in php?
Tell me what the difference between the 'bitwise and' operator and the 'logical and' operator?
how we can retrive data in pdf along php mysql?
What is get method in java?
Explain mail function in PHP with syntax?