FUNC :: string mimetype ( string filename )

Returns the mime type value of extention filename. Notice: by default (if mime type value of extention filename are not in list), this function mimetype() return string application/octet-stream value. Example:

echo FUNC::mimetype('photo.gif');

[ Comments ] Last update: Wednesday, June 28, 2006