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()]])

Beschreibung

Dieses Package ist noch nicht dokumentiert.

Parameter

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()

Rückgabewert

returns HTTP response code

Fehler-Meldungen

throws PEAR_Error

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.