This HTTP extension aims to provide a convenient and powerful set of functionality for one of PHPs major applications.
It eases handling of HTTP URLs, dates, redirects, headers and messages, provides means for negotiation of clients preferred language and charset, as well as a convenient way to send any arbitrary data with caching and resuming capabilities.
It provides powerful request functionality, if built with CURL support. Parallel requests are available for PHP 5 and greater.
Additionally to the API reference in this manual you can find information about how to install and configure as well as which global constants are predefined in the following sections:
Installation |
Configuration |
Global Constants |
HttpMessage |
HttpQueryString |
HttpDeflateStream |
HttpInflateStream |
HttpRequest |
HttpRequestPool |
HttpResponse |
Builtin HTTP related functions previously listed on this page can be found in the networking category.
The following functions do not need the HTTP module to be present: header(), headers_list(), headers_sent(), setcookie() and setrawcookie().
http_build_cookie() |
http_date() |
http_get_request_body_stream() |
http_get_request_body() |
http_get_request_headers() |
http_match_etag() |
http_match_modified() |
http_match_request_header() |
http_support() |