Introduktion

The HTTP extension aims to provide a convenient and powerful set of functionality for major applications.

The HTTP extension eases handling of HTTP URLs, dates, redirects, headers and messages in a HTTP context (both incoming and outgoing). It also provides means for client negotiation of preferred language and charset, as well as a convenient way to exchange arbitrary data with caching and resuming capabilities.

Also provided is a powerful request and parallel interface (PHP 5+), if the extension is built with cURL support.

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:

add a note add a note

User Contributed Notes 2 notes

up
11
lsloan-php dot net@umich dot edu
8 years ago
Note that the documentation for the http module is out of date!

If you install the module via pecl today, you get v2.4.3 of the module or newer.  The API of v2.* is completely different than that shown here.  It's very important that you follow the link shown in the documentation here to reach the correct documentation.  Hopefully that documentation will appear here on php.net soon.
up
1
stephen at reporo dot com
8 years ago
If you want to install the version documented here (recommended):
pecl install http://pecl.php.net/get/pecl_http-1.7.6.tgz
To Top