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

Description

Ce module n'est actuellement pas documenté.

Paramètres

chaîne de caractères $url

URL

mixed $data

Data to send

booléen $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()

Valeur retournée

returns HTTP response code

Valeurs renvoyées

throws PEAR_Error

Note

Cette fonction ne peut pas être appelée de façon statique.