<?php

$mime_types = array(

// Mime-Type                      Allow Post  Image             Name           Allow as Avatar
"application/mac-binhex40"        => array(1, "unkown.gif",     "Mac Binary",              0),
"application/msword"              => array(1, "doc.gif",        "MicroSoft Word Document", 0),
"application/octet-stream"        => array(1, "unknown.gif",    "Unknown File Type",       0),
"application/pdf"                 => array(1, "pdf.gif",        "PDF Document",            0),
"application/postscript"          => array(1, "unknown.gif",    "Postscript Document",     0),
"application/powerpoint"          => array(1, "ppt.gif",        "PowerPoint Document",     0),
"application/vnd.mozilla.xul+xml" => array(1, "html.gif",       "XUL Document",            0),
"application/vnd.ms-excel"        => array(1, "xls.gif",        "Excel Document",          0),
"application/vnd.ms-powerpoint"   => array(1, "ppt.gif",        "PowerPoint Document",     0),
"application/x-compress"          => array(1, "compressed.gif", "Compressed File",         0),
"application/x-gzip"              => array(1, "gz.gif",         "GZIP File",               0),
"application/x-internet-signup"   => array(0, "ins.gif",        "Internet Signup File",    0),
"application/x-javascript"        => array(1, "js.gif",         "Javascript File",         0),
"application/x-msdownload"        => array(0, "unknown.gif",    "Executable File",         0),
"application/x-pilot"             => array(1, "pdb.gif",        "Palm Database",           0),
"application/x-shockwave-flash"   => array(1, "swf.gif",        "Flash Movie",             1),
"application/x-tar"               => array(1, "tar.gif",        "TAR Ball File",           0),
"application/x-zip-compressed"    => array(1, "zip.gif",        "ZIP File",                0),
"application/zip"                 => array(1, "zip.gif",        "ZIP File",                0), 

"audio/mid"                       => array(1, "wmp.gif",        "MIDI Audio",              0),
"audio/mpeg"                      => array(1, "wmp.gif",        "MPEG Audio",              0),
"audio/x-aiff"                    => array(1, "wmp.gif",        "AIFF Audio",              0),
"audio/x-mpeg"                    => array(1, "wmp.gif",        "MPEG Audio",              0),
"audio/x-pn-realaudio"            => array(1, "real.gif",       "Real Audio",              0),
"audio/x-realaudio"               => array(1, "real.gif",       "Real Audio",              0),
"audio/x-wav"                     => array(1, "wmp.gif",        "WAV Audio",               0),
"audio/wav"                       => array(1, "wmp.gif",        "WAV Audio",               0),
                                                                                              
"image/bmp"                       => array(1, "gif.gif",        "BMP Image",               0),
"image/ico"                       => array(1, "unknown.gif",    "Icon Image",              0),
"image/gif"                       => array(1, "gif.gif",        "GIF Image",               1),
"image/jpeg"                      => array(1, "jpg.gif",        "JPEG Image",              1),
"image/pjpeg"                     => array(1, "jpg.gif",        "JPEG Image",              1),
"image/png"                       => array(1, "jpg.gif",        "PNG Image",               1),
"image/x-icon"                    => array(1, "unknown.gif",    "Icon Image",              0),
"image/x-MS-bmp"                  => array(1, "gif.gif",        "BMP Image",               0),
"image/x-png"                     => array(1, "jpg.gif",        "PNG Image",               1),
"image/x-targa"                   => array(1, "unknown.gif",    "TGA Image",               0),
"image/tiff"                      => array(1, "jpg.gif",        "TIFF Image",              0),
                                                                                              
"text/css"                        => array(1, "css.gif",        "Style Sheet",             0),
"text/html"                       => array(1, "html.gif",       "HTML Page",               0),
"text/plain"                      => array(1, "txt.gif",        "Text File",               0),
"text/rdf"                        => array(1, "unknown.gif",    "RDF File",                0),
"text/richtext"                   => array(1, "rtf.gif",        "Rich Text File",          0),
"text/webviewhtml"                => array(1, "html.gif",       "HTT Template",            0),
"text/xml"                        => array(1, "html.gif",       "XML Document",            0),
                                                                                              
"video/avi"                       => array(1, "wmp.gif",        "AVI Video",               0),
"video/mpeg"                      => array(1, "wmp.gif",        "MPEG Video",              0),
"video/quicktime"                 => array(1, "mov.gif",        "Quicktime Video",         0),
"video/vivo"                      => array(1, "real.gif",       "VIVO Video",              0),
"video/x-msvideo"                 => array(1, "wmp.gif",        "Windows Media Video",     0),

);

?>
