PHP中经常使用的header汇总

经常使用header汇总:javascript

header('Content-Type: text/html; charset=utf-8'); //网页编码css

header('Content-Type: text/plain'); //纯文本格式html

header('Content-Type: image/jpeg'); //JPG、JPEGjava

header('Content-Type: application/zip'); // ZIP文件json

header('Content-Type: application/pdf'); // PDF文件app

header('Content-Type: audio/mpeg'); // 音频文件动画

header('Content-type: text/css'); //css文件编码

header('Content-type: text/javascript'); //js文件xml

header('Content-type: application/json'); //jsonhtm

header('Content-type: application/pdf'); //pdf

header('Content-type: text/xml'); //xml

header('Content-Type: application/x-shockw**e-flash'); //Flash动画

相关文章
相关标签/搜索