HTTP_Client::post()

HTTP_Client::post() -- Sends a 'POST' HTTP request

Synopsis

require_once 'HTTP/Client.php';

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

Описание

Этот пакет пока не документирован.

Параметр

string $url

URL

mixed $data

Data to send

boolean $preEncoded

Whether the data is already urlencoded

array $files

Files to upload. Elements of the array should have the form: array(name, filename(s)[, content type]), see HTTP_Request::addFile()

Возвращаемое значение

returns HTTP response code

Throws

throws PEAR_Error

Заметка

Эта функция не должна вызываться статически.


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ