//这里两句话很重要,第一讲话告诉浏览器返回的数据是xml格式
header("Content-Type: text/xml;charset=utf-8");
//告诉浏览器不要缓存数据
header("Cache-Control: no-cache");
这俩是我学习资料的,我理解 head 就是修改 html 的 meta标签,但是第一个设置字符集能对起来,第二个对不起来,有规范吗
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
如果php的header解决了html的事那么还要html做什么