PHP Doku:: Set put data - function.httprequest-setputdata.html

Verlauf / Chronik / History: (2) anzeigen

Sie sind hier:
Doku-StartseitePHP-HandbuchFunktionsreferenzSonstige DiensteHTTPThe HttpRequestHttpRequest::setPutData

Ein Service von Reinhard Neidl - Webprogrammierung.

The HttpRequest

<<HttpRequest::setPostFiles

HttpRequest::setPutFile>>

HttpRequest::setPutData

(PECL pecl_http >= 0.25.0)

HttpRequest::setPutDataSet put data

Beschreibung

public bool HttpRequest::setPutData ([ string $put_data ] )

Set PUT data to send, overwriting previously set PUT data.

Affects only PUT requests.

Only either PUT data or PUT file can be used for each request. PUT data has higher precedence and will be used even if a PUT file is set.

Parameter-Liste

put_data

the data to upload

Rückgabewerte

Gibt bei Erfolg TRUE zurück. Im Fehlerfall wird FALSE zurückgegeben.


Keine BenutzerBeiträge.
- Beiträge aktualisieren...



PHP Powered Diese Seite bei php.net
The PHP manual text and comments are covered by the Creative Commons Attribution 3.0 License © the PHP Documentation Group - Impressum - mail("TO:Reinhard Neidl",...)