php 数组的格式,PHP文件格式数组
一個(gè)文件格式對(duì)應(yīng)的數(shù)組$mime_types = array(‘gif‘ => ‘image/gif‘,
‘jpg‘ => ‘image/jpeg‘,
‘jpeg‘ => ‘image/jpeg‘,
‘jpe‘ => ‘image/jpeg‘,
‘bmp‘ => ‘image/bmp‘,
‘png‘ => ‘image/png‘,
‘tif‘ => ‘image/tiff‘,
‘tiff‘ => ‘image/tiff‘,
‘pict‘ => ‘image/x-pict‘,
‘pic‘ => ‘image/x-pict‘,
‘pct‘ => ‘image/x-pict‘,
‘tif‘ => ‘image/tiff‘,
‘tiff‘ => ‘image/tiff‘,
‘psd‘ => ‘image/x-photoshop‘,
‘swf‘ => ‘a(chǎn)pplication/x-shockwave-flash‘,
‘js‘ => ‘a(chǎn)pplication/x-javascript‘,
‘pdf‘ => ‘a(chǎn)pplication/pdf‘,
‘ps‘ => ‘a(chǎn)pplication/postscript‘,
‘eps‘ => ‘a(chǎn)pplication/postscript‘,
‘a(chǎn)i‘ => ‘a(chǎn)pplication/postscript‘,
‘wmf‘ => ‘a(chǎn)pplication/x-msmetafile‘,
‘css‘ => ‘text/css‘,
‘htm‘ => ‘text/html‘,
‘html‘ => ‘text/html‘,
‘txt‘ => ‘text/plain‘,
‘xml‘ => ‘text/xml‘,
‘wml‘ => ‘text/wml‘,
‘wbmp‘ => ‘image/vnd.wap.wbmp‘,
‘mid‘ => ‘a(chǎn)udio/midi‘,
‘wav‘ => ‘a(chǎn)udio/wav‘,
‘mp3‘ => ‘a(chǎn)udio/mpeg‘,
‘mp2‘ => ‘a(chǎn)udio/mpeg‘,
‘a(chǎn)vi‘ => ‘video/x-msvideo‘,
‘mpeg‘ => ‘video/mpeg‘,
‘mpg‘ => ‘video/mpeg‘,
‘qt‘ => ‘video/quicktime‘,
‘mov‘ => ‘video/quicktime‘,
‘lha‘ => ‘a(chǎn)pplication/x-lha‘,
‘lzh‘ => ‘a(chǎn)pplication/x-lha‘,
‘z‘ => ‘a(chǎn)pplication/x-compress‘,
‘gtar‘ => ‘a(chǎn)pplication/x-gtar‘,
‘gz‘ => ‘a(chǎn)pplication/x-gzip‘,
‘gzip‘ => ‘a(chǎn)pplication/x-gzip‘,
‘tgz‘ => ‘a(chǎn)pplication/x-gzip‘,
‘tar‘ => ‘a(chǎn)pplication/x-tar‘,
‘bz2‘ => ‘a(chǎn)pplication/bzip2‘,
‘zip‘ => ‘a(chǎn)pplication/zip‘,
‘a(chǎn)rj‘ => ‘a(chǎn)pplication/x-arj‘,
‘rar‘ => ‘a(chǎn)pplication/x-rar-compressed‘,
‘hqx‘ => ‘a(chǎn)pplication/mac-binhex40‘,
‘sit‘ => ‘a(chǎn)pplication/x-stuffit‘,
‘bin‘ => ‘a(chǎn)pplication/x-macbinary‘,
‘uu‘ => ‘text/x-uuencode‘,
‘uue‘ => ‘text/x-uuencode‘,
‘latex‘=> ‘a(chǎn)pplication/x-latex‘,
‘ltx‘ => ‘a(chǎn)pplication/x-latex‘,
‘tcl‘ => ‘a(chǎn)pplication/x-tcl‘,
‘pgp‘ => ‘a(chǎn)pplication/pgp‘,
‘a(chǎn)sc‘ => ‘a(chǎn)pplication/pgp‘,
‘exe‘ => ‘a(chǎn)pplication/x-msdownload‘,
‘doc‘ => ‘a(chǎn)pplication/msword‘,
‘rtf‘ => ‘a(chǎn)pplication/rtf‘,
‘xls‘ => ‘a(chǎn)pplication/vnd.ms-excel‘,
‘ppt‘ => ‘a(chǎn)pplication/vnd.ms-powerpoint‘,
‘mdb‘ => ‘a(chǎn)pplication/x-msaccess‘,
‘wri‘ => ‘a(chǎn)pplication/x-mswrite‘,);
原文:http://www.cnblogs.com/Itwonderful/p/5525818.html
總結(jié)
以上是生活随笔為你收集整理的php 数组的格式,PHP文件格式数组的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: php基于新浪ip库获取城市,PHP基于
- 下一篇: taylor级数 matlab,Tayl