18 defined(
'XOOPS_ROOT_PATH') or die('Restricted access');
26 'hqx' => 'application/mac-binhex40' ,
27 'doc' => 'application/msword' ,
28 'dot' => 'application/msword' ,
29 'bin' => 'application/octet-stream' ,
30 'lha' => 'application/octet-stream' ,
31 'lzh' => 'application/octet-stream' ,
32 'exe' => 'application/octet-stream' ,
33 'class' => 'application/octet-stream' ,
34 'so' => 'application/octet-stream' ,
35 'dll' => 'application/octet-stream' ,
36 'pdf' => 'application/pdf' ,
37 'ai' => 'application/postscript' ,
38 'eps' => 'application/postscript' ,
39 'ps' => 'application/postscript' ,
40 'smi' => 'application/smil' ,
41 'smil' => 'application/smil' ,
42 'wbxml' => 'application/vnd.wap.wbxml' ,
43 'wmlc' => 'application/vnd.wap.wmlc' ,
44 'wmlsc' => 'application/vnd.wap.wmlscriptc' ,
45 'xla' => 'application/vnd.ms-excel' ,
46 'xls' => 'application/vnd.ms-excel' ,
47 'xlt' => 'application/vnd.ms-excel' ,
48 'ppt' => 'application/vnd.ms-powerpoint' ,
49 'csh' => 'application/x-csh' ,
50 'dcr' => 'application/x-director' ,
51 'dir' => 'application/x-director' ,
52 'dxr' => 'application/x-director' ,
53 'spl' => 'application/x-futuresplash' ,
54 'gtar' => 'application/x-gtar' ,
55 'php' => 'application/x-httpd-php' ,
56 'php3' => 'application/x-httpd-php' ,
57 'php4' => 'application/x-httpd-php' ,
58 'php5' => 'application/x-httpd-php' ,
59 'phtml' => 'application/x-httpd-php' ,
60 'js' => 'application/x-javascript' ,
61 'sh' => 'application/x-sh' ,
62 'swf' => 'application/x-shockwave-flash' ,
63 'sit' => 'application/x-stuffit' ,
64 '
tar' => 'application/x-
tar' ,
65 'tcl' => 'application/x-tcl' ,
66 'xhtml' => 'application/xhtml+xml' ,
67 'xht' => 'application/xhtml+xml' ,
68 'xhtml' => 'application/xml' ,
69 'ent' => 'application/xml-external-parsed-entity' ,
70 'dtd' => 'application/xml-dtd' ,
71 'mod' => 'application/xml-dtd' ,
72 'gz' => 'application/x-gzip' ,
73 'zip' => 'application/zip' ,
74 'au' => 'audio/basic' ,
75 'snd' => 'audio/basic' ,
76 'mid' => 'audio/midi' ,
77 'midi' => 'audio/midi' ,
78 'kar' => 'audio/midi' ,
79 'mp1' => 'audio/mpeg' ,
80 'mp2' => 'audio/mpeg' ,
81 'mp3' => 'audio/mpeg' ,
82 'aif' => 'audio/x-aiff' ,
83 'aiff' => 'audio/x-aiff' ,
84 'm3u' => 'audio/x-mpegurl' ,
85 'ram' => 'audio/x-pn-realaudio' ,
86 'rm' => 'audio/x-pn-realaudio' ,
87 'rpm' => 'audio/x-pn-realaudio-plugin' ,
88 'ra' => 'audio/x-realaudio' ,
89 'wav' => 'audio/x-wav' ,
90 'ogg' => 'audio/ogg' ,
91 'bmp' => 'image/bmp' ,
92 'gif' => 'image/gif' ,
93 'jpeg' => 'image/jpeg' ,
94 'jpg' => 'image/jpeg' ,
95 'jpe' => 'image/jpeg' ,
96 'png' => 'image/png' ,
97 'tiff' => 'image/tiff' ,
98 'tif' => 'image/tif' ,
99 'wbmp' => 'image/vnd.wap.wbmp' ,
100 'pnm' => 'image/x-portable-anymap' ,
101 'pbm' => 'image/x-portable-bitmap' ,
102 'pgm' => 'image/x-portable-graymap' ,
103 'ppm' => 'image/x-portable-pixmap' ,
104 'xbm' => 'image/x-xbitmap' ,
105 'xpm' => 'image/x-xpixmap' ,
106 'ics' => 'text/calendar' ,
107 'ifb' => 'text/calendar' ,
108 'css' => 'text/css' ,
109 'html' => 'text/html' ,
110 'htm' => 'text/html' ,
111 'asc' => 'text/plain' ,
112 'txt' => 'text/plain' ,
113 'rtf' => 'text/rtf' ,
114 'sgml' => 'text/x-sgml' ,
115 'sgm' => 'text/x-sgml' ,
116 'tsv' => 'text/tab-seperated-values' ,
117 'wml' => 'text/vnd.wap.wml' ,
118 'wmls' => 'text/vnd.wap.wmlscript' ,
119 'xsl' => 'text/xml' ,
120 'ogv' => 'video/ogg' ,
121 'mpeg' => 'video/mpeg' ,
122 'mpg' => 'video/mpeg' ,
123 'mpe' => 'video/mpeg' ,
124 'qt' => 'video/quicktime' ,
125 'mov' => 'video/quicktime' ,
126 'avi' => 'video/x-msvideo' ,
127 'flv' => 'video/x-flv' ,
128 'mp4' => 'video/mp4' ,
129 'wmv' => 'video/x-ms-wmv' ,
130 'webm' => 'video/webm' ,
131 '3gp' => 'video/quicktime' );