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

PHP
WINDOWS下安装MySQL
PHP 制作 网站/服务器 监视脚本
用PHP和CSS制作活动按钮
PHP 单件模式
PHP MVC模式,类封装以及HACK
PHP 中使用正则表达式
PHP 防止 SQL 注入攻击
PHP 跨站点脚本攻击
PHP 防止用户操纵 GET 变量
PHP 防止远程表单提交

PHP HTTP


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 842 ::
收藏到网摘: 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

登陆 | 还没注册?