eld-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last">string</p>
</td>
</tr>
</tbody>
</table>
<p>Translates a filename extension into a MIME type based on <em>config/mimes.php</em>.
Returns FALSE if it can&#8217;t determine the type, or read the MIME config file.</p>
<div class="highlight-ci"><div class="highlight"><pre><span class="nv">$file</span> <span class="o">=</span> <span class="s1">&#39;somefile.png&#39;</span><span class="p">;</span>
<span class="k">e