PHP 5.6.0beta1 released

HttpRequest::setPutData

(PECL pecl_http >= 0.25.0)

HttpRequest::setPutDataSet put data

Descrierea

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.

Parametri

put_data

the data to upload

Valorile întoarse

Întoarce valoarea TRUE în cazul succesului sau FALSE în cazul eșecului.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top