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動畫

相關文章
相關標籤/搜索