当前位置: 网学 > 编程文档 > PHP > 正文

php header Content-Type类型小结

来源:Http://myeducs.cn 联系QQ:点击这里给我发消息 作者: 用户投稿 来源: 网络 发布时间: 13/06/22

网学网为广大网友收集整理了,php header Content-Type类型小结,希望对大家有所帮助!

复制代码 代码如下:
<?php
$mimetypes = array(
''ez'' => ''application/andrew-inset'',
''hqx'' => ''application/mac-binhex40'',
''cpt'' => ''application/mac-compactpro'',
''doc'' => ''application/msword'',
''bin'' => ''application/octet-stream'',
''dms'' => ''application/octet-stream'',
''lha'' => ''application/octet-stream'',
''lzh'' => ''application/octet-stream'',
''exe'' => ''application/octet-stream'',
''class'' => ''application/octet-stream'',
''so'' => ''application/octet-stream'',
''dll'' => ''application/octet-stream'',
''oda'' => ''application/oda'',
''pdf'' => ''application/pdf'',
''ai'' => ''application/postscript'',
''eps'' => ''application/postscript'',
''ps'' => ''application/postscript'',
''smi'' => ''application/smil'',
''smil'' => ''application/smil'',
''mif'' => ''application/vnd.mif'',
''xls'' => ''application/vnd.ms-excel'',
''ppt'' => ''application/vnd.ms-powerpoint'',
''wbxml'' => ''application/vnd.wap.wbxml'',
''wmlc'' => ''application/vnd.wap.wmlc'',
''wmlsc'' => ''application/vnd.wap.wmlscriptc'',
''bcpio'' => ''application/x-bcpio'',
''vcd'' => ''application/x-cdlink'',
''pgn'' => ''application/x-chess-pgn'',
''cpio'' => ''application/x-cpio'',
''csh'' => ''application/x-csh'',
''dcr'' => ''application/x-director'',
''dir'' => ''application/x-director'',
''dxr'' => ''application/x-director'',
''dvi'' => ''application/x-dvi'',
''spl'' => ''application/x-futuresplash'',
''gtar'' => ''application/x-gtar'',
''hdf'' => ''application/x-hdf'',
''js'' => ''application/x-javascript'',
''skp'' => ''application/x-koan'',
''skd'' => ''application/x-koan'',
''skt'' => ''application/x-koan'',
''skm'' => ''application/x-koan'',
''latex'' => ''application/x-latex'',
''nc'' => ''application/x-netcdf'',
''cdf'' => ''application/x-netcdf'',
''sh'' => ''application/x-sh'',
''shar'' => ''application/x-shar'',
''swf'' => ''application/x-shockwave-flash'',
''sit'' => ''application/x-stuffit'',
''sv4cpio'' => ''application/x-sv4cpio'',
''sv4crc'' => ''application/x-sv4crc'',
''tar'' => ''application/x-tar'',
''tcl'' => ''application/x-tcl'',
''tex'' => ''application/x-tex'',
''texinfo'' => ''application/x-texinfo'',
''texi'' => ''application/x-texinfo'',
''t'' => ''application/x-troff'',
''tr'' => ''application/x-troff'',
''roff'' => ''application/x-troff'',
''man'' => ''application/x-troff-man'',
''me'' => ''application/x-troff-me'',
''ms'' => ''application/x-troff-ms'',
''ustar'' => ''application/x-ustar'',
''src'' => ''application/x-wais-source'',
''xhtml'' => ''application/xhtml+xml'',
''xht'' => ''application/xhtml+xml'',
''zip'' => ''application/zip'',
''au'' => ''audio/basic'',
''snd'' => ''audio/basic'',
''mid'' => ''audio/midi'',
''midi'' => ''audio/midi'',
''kar'' => ''audio/midi'',
''mpga'' => ''audio/mpeg'',
''mp2''

网学推荐

免费论文

原创论文

浏览:
设为首页 | 加入收藏 | 论文首页 | 论文专题 | 设计下载 | 网学软件 | 论文模板 | 论文资源 | 程序设计 | 关于网学 | 站内搜索 | 网学留言 | 友情链接 | 资料中心
版权所有 QQ:3710167 邮箱:3710167@qq.com 网学网 [Myeducs.cn] 您电脑的分辨率是 像素
Copyright 2008-2015 myeducs.Cn www.myeducs.Cn All Rights Reserved
湘ICP备09003080号