(PECL pecl_http >= 1.0.0)
http_request — Perform custom request
$method
, string $url
[, string $body
[, array $options
[, array &$info
]]] )Performs a custom HTTP request on the supplied url.
Смотрите полный список опции запроса.
methodRequest method
urlURL
bodyRequest body
optionsinfo
Возвращает строку с HTTP-ответом(ами) при успешном завершении работы, или FALSE при ошибке.