当前位置: 首页 > 网络学院 > 服务端脚本教程 > PHP > PHP HTTP

PHP
PHP 介绍
PHP 安装
PHP 语法
PHP 变量
PHP操作符
PHP If...Else
PHP Switch
PHP 数组
PHP 循环
PHP 函数
PHP 表单
PHP $_GET
PHP $_POST
PHP Date
PHP Include
PHP 文件处理
PHP 文件上传
PHP Cookies
PHP Sessions
PHP 发送邮件

PHP HTTP


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 845 ::
收藏到网摘: n/a

PHP HTTP Introduction
PHP的HTTP介绍

The HTTP functions let you manipulate information sent to the browser by the Web server, before any other output has been sent.
本类函数可以以低至 HTTP 协议的级别来操纵发回远端浏览器的输出。


Installation
安装

The directory functions are part of the PHP core. There is no installation needed to use these functions.
本函数库作为 PHP 内核的一部分,不用安装就能使用。


PHP HTTP Functions
PHP的HTTP函数

PHP: indicates the earliest version of PHP that supports the function.
PHP:最早支持这些函数的PHP版本

Function
函数
Description
说明
PHP
header() Sends a raw HTTP header to a client
发送一个原始 HTTP 标头
3
headers_list() Returns a list of response headers sent (or ready to send)
返回已发送(或准备发送)的响应标头的列表
5
headers_sent() Checks if / where the HTTP headers have been sent
检查标头是否已被发送以及在哪里被发送
3
setcookie() Sends an HTTP cookie to a client
发送一个 cookie 信息到客户端
3
setrawcookie() Sends an HTTP cookie without URL encoding the cookie value
发送一个其值未经过url编码的cookie
5


PHP HTTP Constants
PHP HTTP常量

None.无

评论 (0) All

登陆 | 还没注册?