PHP Velho Oeste 2024

導入

この HTTP 拡張モジュールの狙いは、主要な アプリケーションのために便利で強力な機能を提供することです。

注意: この拡張モジュールのバージョン 2 のドキュメントをお探しの場合は、 » https://mdref.m6w6.name/http に完全なリファレンスがあります。

HTTP 拡張モジュールは、HTTP URLや日付、リダイレクト、 ヘッダおよび HTTP コンテキスト内の (入出力両方の) メッセージを使いやすくします。 また、言語や文字セットのクライアントネゴシエーション機能や 任意のデータ通信におけるキャッシュ・リジューム機能を提供します。

さらに、PHP 5 以降では強力なリクエスト機能や並列処理用インターフェイスも用意しています。 これは、cURL サポートついでこの拡張モジュールをビルドした場合のみです。

このマニュアルでは、API リファレンスに加えて インストールや設定の方法、定義済みのグローバル定数などを 以下の節で説明しています。

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