Open DOUBIGROUP opened 6 years ago
https://hexo.xxrar.com/2017/11/25/%E3%80%90%E8%BD%AC%E3%80%91PHP%20header%20%E7%9A%84%E5%87%A0%E7%A7%8D%E7%94%A8%E6%B3%95/
PHP header 的几种用法,你知道几种?1. 跳转页面1header('Location:'.$url); //Location和":"之间无空格。2. 声明content-type1header('content-type:text/html;charset=utf-8');3. 返回response状态码1header('HTTP/1.1 404 Not Found');4. 在某个时间
https://hexo.xxrar.com/2017/11/25/%E3%80%90%E8%BD%AC%E3%80%91PHP%20header%20%E7%9A%84%E5%87%A0%E7%A7%8D%E7%94%A8%E6%B3%95/
PHP header 的几种用法,你知道几种?1. 跳转页面1header('Location:'.$url); //Location和":"之间无空格。2. 声明content-type1header('content-type:text/html;charset=utf-8');3. 返回response状态码1header('HTTP/1.1 404 Not Found');4. 在某个时间