<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >HTTP 函数</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="PHP 手册" HREF="index.html"><LINK REL="UP" TITLE="函数参考" HREF="funcref.html"><LINK REL="PREVIOUS" TITLE="hash" HREF="function.hash.html"><LINK REL="NEXT" TITLE="http_cache_etag" HREF="function.http-cache-etag.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8"></HEAD ><BODY CLASS="reference" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP 手册</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.hash.html" ACCESSKEY="P" >上一页</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.http-cache-etag.html" ACCESSKEY="N" >下一页</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="reference" ><A NAME="ref.http" ></A ><DIV CLASS="TITLEPAGE" ><H1 CLASS="title" >LV. HTTP 函数</H1 ><DIV CLASS="PARTINTRO" ><A NAME="AEN74023" ></A ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="http.intro" >简介</A ></H1 ><P > 本类函数可以以低至 HTTP 协议的级别来操纵发回远端浏览器的输出。 </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="http.requirements" >需求</A ></H1 ><P >要编译本扩展模块无需外部库文件。</P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="http.installation" >安装</A ></H1 ><P >本扩展模块作为 PHP 内核的一部分,无需安装即可使用。</P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="http.configuration" >运行时配置</A ></H1 ><P >本扩展模块在 <TT CLASS="filename" >php.ini</TT > 中未定义任何配置选项。</P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="http.resources" >资源类型</A ></H1 ><P >本扩展模块未定义任何资源类型。</P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="http.constants" >预定义常量</A ></H1 ><P >本扩展模块未定义任何常量。</P ></DIV ></DIV ><DIV CLASS="TOC" ><DL ><DT ><B >目录</B ></DT ><DT ><A HREF="function.http-cache-etag.html" >http_cache_etag</A > -- Caching by ETag</DT ><DT ><A HREF="function.http-cache-last-modified.html" >http_cache_last_modified</A > -- Caching by last modification</DT ><DT ><A HREF="function.http-chunked-decode.html" >http_chunked_decode</A > -- Decode chunked-encoded data</DT ><DT ><A HREF="function.http-deflate.html" >http_deflate</A > -- Deflate data</DT ><DT ><A HREF="function.http-inflate.html" >http_inflate</A > -- Inflate data</DT ><DT ><A HREF="function.http-get-request-body-stream.html" >http_get_request_body_stream</A > -- Get request body as stream</DT ><DT ><A HREF="function.http-get-request-body.html" >http_get_request_body</A > -- Get request body as string</DT ><DT ><A HREF="function.http-get-request-headers.html" >http_get_request_headers</A > -- Get request headers as array</DT ><DT ><A HREF="function.http-date.html" >http_date</A > -- Compose HTTP RFC compliant date</DT ><DT ><A HREF="function.http-support.html" >http_support</A > -- Check built-in HTTP support</DT ><DT ><A HREF="function.http-match-etag.html" >http_match_etag</A > -- Match ETag</DT ><DT ><A HREF="function.http-match-modified.html" >http_match_modified</A > -- Match last modification</DT ><DT ><A HREF="function.http-match-request-header.html" >http_match_request_header</A > -- Match any header</DT ><DT ><A HREF="function.http-build-cookie.html" >http_build_cookie</A > -- Build cookie string</DT ><DT ><A HREF="function.http-negotiate-charset.html" >http_negotiate_charset</A > -- Negotiate clients preferred character set</DT ><DT ><A HREF="function.http-negotiate-content-type.html" >http_negotiate_content_type</A > -- Negotiate clients preferred content type</DT ><DT ><A HREF="function.http-negotiate-language.html" >http_negotiate_language</A > -- Negotiate clients preferred language</DT ><DT ><A HREF="function.ob-deflatehandler.html" >ob_deflatehandler</A > -- Deflate output handler</DT ><DT ><A HREF="function.ob-etaghandler.html" >ob_etaghandler</A > -- ETag output handler</DT ><DT ><A HREF="function.ob-inflatehandler.html" >ob_inflatehandler</A > -- Inflate output handler</DT ><DT ><A HREF="function.http-parse-cookie.html" >http_parse_cookie</A > -- Parse HTTP cookie</DT ><DT ><A HREF="function.http-parse-headers.html" >http_parse_headers</A > -- Parse HTTP headers</DT ><DT ><A HREF="function.http-parse-message.html" >http_parse_message</A > -- Parse HTTP messages</DT ><DT ><A HREF="function.http-parse-params.html" >http_parse_params</A > -- Parse parameter list</DT ><DT ><A HREF="function.http-persistent-handles-count.html" >http_persistent_handles_count</A > -- Stat persistent handles</DT ><DT ><A HREF="function.http-persistent-handles-ident.html" >http_persistent_handles_ident</A > -- Get/set ident of persistent handles</DT ><DT ><A HREF="function.http-persistent-handles-clean.html" >http_persistent_handles_clean</A > -- Clean up persistent handles</DT ><DT ><A HREF="function.http-get.html" >http_get</A > -- Perform GET request</DT ><DT ><A HREF="function.http-head.html" >http_head</A > -- Perform HEAD request</DT ><DT ><A HREF="function.http-post-data.html" >http_post_data</A > -- Perform POST request with pre-encoded data</DT ><DT ><A HREF="function.http-post-fields.html" >http_post_fields</A > -- Perform POST request with data to be encoded</DT ><DT ><A HREF="function.http-put-data.html" >http_put_data</A > -- Perform PUT request with data</DT ><DT ><A HREF="function.http-put-file.html" >http_put_file</A > -- Perform PUT request with file</DT ><DT ><A HREF="function.http-put-stream.html" >http_put_stream</A > -- Perform PUT request with stream</DT ><DT ><A HREF="function.http-request-method-exists.html" >http_request_method_exists</A > -- Check whether request method exists</DT ><DT ><A HREF="function.http-request-method-name.html" >http_request_method_name</A > -- Get request method name</DT ><DT ><A HREF="function.http-request-method-register.html" >http_request_method_register</A > -- Register request method</DT ><DT ><A HREF="function.http-request-method-unregister.html" >http_request_method_unregister</A > -- Unregister request method</DT ><DT ><A HREF="function.http-request.html" >http_request</A > -- Perform custom request</DT ><DT ><A HREF="function.http-request-body-encode.html" >http_request_body_encode</A > -- Encode request body</DT ><DT ><A HREF="function.http-redirect.html" >http_redirect</A > -- Issue HTTP redirect</DT ><DT ><A HREF="function.http-send-content-disposition.html" >http_send_content_disposition</A > -- Send Content-Disposition</DT ><DT ><A HREF="function.http-send-content-type.html" >http_send_content_type</A > -- Send Content-Type</DT ><DT ><A HREF="function.http-send-data.html" >http_send_data</A > -- Send arbitrary data</DT ><DT ><A HREF="function.http-send-file.html" >http_send_file</A > -- Send file</DT ><DT ><A HREF="function.http-send-last-modified.html" >http_send_last_modified</A > -- Send Last-Modified</DT ><DT ><A HREF="function.http-send-status.html" >http_send_status</A > -- Send HTTP response status</DT ><DT ><A HREF="function.http-send-stream.html" >http_send_stream</A > -- Send stream</DT ><DT ><A HREF="function.http-throttle.html" >http_throttle</A > -- HTTP throttling</DT ><DT ><A HREF="function.http-build-str.html" >http_build_str</A > -- Build query string</DT ><DT ><A HREF="function.http-build-url.html" >http_build_url</A > -- Build an URL</DT ></DL ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.hash.html" ACCESSKEY="P" >上一页</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >起始页</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.http-cache-etag.html" ACCESSKEY="N" >下一页</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >hash</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="funcref.html" ACCESSKEY="U" >上一级</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >http_cache_etag</TD ></TR ></TABLE ></DIV ></BODY ></HTML >