previousHTTP_Client::head() (Previous) (Next) HTTP_Client::reset()next

View this page in Last updated: Sun, 21 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

HTTP_Client::post()

HTTP_Client::post() – 'POST' HTTP リクエストを送出する

Synopsis

require_once 'HTTP/Client.php';

integer HTTP_Client::post ( string $url , mixed $data , boolean $preEncoded = = false , array $files = array() )

Description

This package is not documented yet.

Parameter

string $url

URL を指定します。

mixed $data

送出するデータを指定します。

boolean $preEncoded

データがすでに urlencode されているかどうかを指定します。

array $files

アップロードするファイルを指定します。配列の要素は、 以下の形態であるべきです: array(name, filename(s)[, content type])。 HTTP_Request::addFile() を参照してください。

Return value

returns HTTP レスポンスコード

Throws

throws PEAR_Error

Note

This function can not be called statically.

previousHTTP_Client::head() (Previous) (Next) HTTP_Client::reset()next

Download Documentation Last updated: Sun, 21 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.