File_Archive
[ class tree: File_Archive ] [ index: File_Archive ] [ all elements ]

File: MimeList.php

Source Location: /File_Archive-1.5.5/File/Archive/Reader/MimeList.php

Classes:

Page Details:

Retrieve the MIME of a file thanks to its extension

PHP versions 4 and 5

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,Boston,MA 02111-1307 USA


File_Archive_Reader_GetMime [line 36]

void File_Archive_Reader_GetMime( $filename)

Returns the MIME of the filename, deducted from its extension

If the extension is unknown, returns "application/octet-stream"



Parameters

   $filename  
[ Top ]



Documentation generated on Mon, 11 Mar 2019 15:48:27 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.