PHP HTTP 函数

PHP 教程 · 2019-01-21 18:58:26

PHP HTTP 简介

HTTP 函数允许您在其他输出被发送之前,对由 Web 服务器发送到浏览器的信息进行操作。

安装

HTTP 函数是 PHP 核心的组成部分。无需安装即可使用这些函数。

PHP HTTP 函数

PHP:指示支持该函数的最早的 PHP 版本。

函数 描述 PHP
header() 向客户端发送原始的 HTTP 报头。 3
headers_list() 返回已发送的(或待发送的)响应头部的一个列表。 5
headers_sent() 检查 HTTP 报头是否发送/已发送到何处。 3
setcookie() 向客户端发送一个 HTTP cookie。 3
setrawcookie() 不对 cookie 值进行 URL 编码,发送一个 HTTP cookie。 5

PHP HTTP 常量

无。

点击查看所有 PHP 教程 文章: https://codercto.com/courses/l/5.html

查看所有标签

Defensive Design for the Web

Defensive Design for the Web

37signals、Matthew Linderman、Jason Fried / New Riders / 2004-3-2 / GBP 18.99

Let's admit it: Things will go wrong online. No matter how carefully you design a site, no matter how much testing you do, customers still encounter problems. So how do you handle these inevitable bre......一起来看看 《Defensive Design for the Web》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具