(PECL pecl_http >= 0.10.0)
http_put_stream — Perform PUT request with stream
$url
, resource $stream
[, array $options
[, array &$info
]] )Performs an HTTP PUT request on the supplied url.
Смотрите полный список опции запроса.
urlURL
streamThe stream to read the PUT request body from
optionsinfo
Возвращает строку с HTTP-ответом(ами) при успешном завершении работы, или FALSE при ошибке.