回傳 JSON 記得送 header

回傳 JSON 的時後, 特別是有中文, 記得送 header(常忘記)...XD

header('Content-Type: text/plain; charset=utf-8');

header('Content-Type: application/json; charset=utf-8');

閱讀全文〈回傳 JSON 記得送 header〉