<?
/***
*
*@package binzcms
*@version $id:filetype.php, v 1.0
*@author 斌子
*@Tue Feb 17 12:41:17 CST 2010
*@copyright (c) 2009-2010 binzcms
*
*/
$filetype=array(); 
$filetype['hqx']="application/mac-binhex40"; 
$filetype['bin']="application/octet-stream"; 
$filetype['oda']="application/oda"; 
$filetype['pdf']="application/pdf"; 
$filetype['ai']="application/postsrcipt"; 
$filetype['eps']="application/postsrcipt"; 
$filetype['es']="application/postsrcipt"; 
$filetype['rtf']="application/rtf"; 
$filetype['mif']="application/x-mif"; 
$filetype['csh']="application/x-csh"; 
$filetype['dvi']="application/x-dvi"; 
$filetype['hdf']="application/x-hdf"; 
$filetype['nc']="application/x-netcdf"; 
$filetype['cdf']="application/x-netcdf"; 
$filetype['latex']="application/x-latex"; 
$filetype['ts']="application/x-troll-ts"; 
$filetype['src']="application/x-wais-source"; 
$filetype['zip']="application/zip"; 
$filetype['bcpio']="application/x-bcpio"; 
$filetype['cpio']="application/x-cpio"; 
$filetype['gtar']="application/x-gtar"; 
$filetype['shar']="application/x-shar"; 
$filetype['sv4cpio']="application/x-sv4cpio"; 
$filetype['sv4crc']="application/x-sv4crc"; 
$filetype['tar']="application/x-tar"; 
$filetype['ustar']="application/x-ustar"; 
$filetype['man']="application/x-troff-man"; 
$filetype['sh']="application/x-sh"; 
$filetype['tcl']="application/x-tcl"; 
$filetype['tex']="application/x-tex"; 
$filetype['texi']="application/x-texinfo"; 
$filetype['texinfo']="application/x-texinfo"; 
$filetype['t']="application/x-troff"; 
$filetype['tr']="application/x-troff"; 
$filetype['roff']="application/x-troff"; 
$filetype['shar']="application/x-shar"; 
$filetype['me']="application/x-troll-me"; 
$filetype['ts']="application/x-troll-ts"; 
$filetype['gif']=array("image/gif","application/octet-stream"); 
$filetype['jpeg']=array("image/pjpeg","application/octet-stream"); 
$filetype['jpg']=array("image/pjpeg","image/jpeg","application/octet-stream"); 
$filetype['png']=array("image/png","image/x-png",'application/octet-stream'); 
$filetype['jpe']="image/pjpeg"; 
$filetype['ras']="image/x-cmu-raster"; 
$filetype['pbm']="image/x-portable-bitmap"; 
$filetype['ppm']="image/x-portable-pixmap"; 
$filetype['xbm']="image/x-xbitmap"; 
$filetype['xwd']="image/x-xwindowdump"; 
$filetype['ief']="image/ief"; 
$filetype['tif']="image/tiff"; 
$filetype['tiff']="image/tiff"; 
$filetype['pnm']="image/x-portable-anymap"; 
$filetype['pgm']="image/x-portable-graymap"; 
$filetype['rgb']="image/x-rgb"; 
$filetype['xpm']="image/x-xpixmap"; 
$filetype['txt']="text/plain"; 
$filetype['c']="text/plain"; 
$filetype['cc']="text/plain"; 
$filetype['h']="text/plain"; 
$filetype['html']="text/html"; 
$filetype['htm']="text/html"; 
$filetype['htl']="text/html"; 
$filetype['rtx']="text/richtext"; 
$filetype['etx']="text/x-setext"; 
$filetype['tsv']="text/tab-separated-values"; 
$filetype['mpeg']="video/mpeg"; 
$filetype['avi']="video/avi"; 
$filetype['rm']="video/rm"; 
$filetype['rmvb']="video/rmvb"; 
$filetype['wmv']="video/x-ms-wmv"; 
$filetype['flv']="application/octet-stream"; 
$filetype['mpg']="video/mpeg"; 
$filetype['mpe']="video/mpeg"; 
$filetype['avi']="video/x-msvideo"; 
$filetype['qt']="video/quicktime"; 
$filetype['mov']="video/quicktime"; 
$filetype['moov']="video/quicktime"; 
$filetype['movie']="video/x-sgi-movie"; 
$filetype['au']="audio/basic"; 
$filetype['mp3']="audio/mp3"; 
$filetype['snd']="audio/basic"; 
$filetype['wav']="audio/wav"; 
$filetype['wma']="audio/x-ms-wma"; 
$filetype['aif']="audio/x-aiff"; 
$filetype['aiff']="audio/x-aiff"; 
$filetype['aifc']="audio/x-aiff"; 
$filetype['swf']="application/x-shockwave-flash"; 
$filetype['doc']="application/msword"; 
$filetype['ini']='application/octet-stream'; 
$filetype['tbi']='application/octet-stream'; 
?>