PHP中header函数有哪些具体应用场景和实例?
- 内容介绍
- 文章标签
- 相关推荐
本文共计796个文字,预计阅读时间需要4分钟。
1、header()函数的作用是:发送一个原始HTTP头部到客户端。header(string, replace, http_response_code)参数说明:* string:必需。规定要发送的报头字符串。* replace:可选。规定是否替换现有报头。* http_response_code:可选。规定要发送的HTTP响应状态码。
1、header()函数的作用是:发送一个原始 HTTP 标头[Http Header]到客户端。
本文共计796个文字,预计阅读时间需要4分钟。
1、header()函数的作用是:发送一个原始HTTP头部到客户端。header(string, replace, http_response_code)参数说明:* string:必需。规定要发送的报头字符串。* replace:可选。规定是否替换现有报头。* http_response_code:可选。规定要发送的HTTP响应状态码。
1、header()函数的作用是:发送一个原始 HTTP 标头[Http Header]到客户端。

