http_request
(PECL pecl_http:1.0.0-1.5.5)
http_request — Perform custom request
Descrizione
string http_request
( int $method
[, string $url
[, string $body
[, array $options
[, array &$info
]]]] )
Performs a custom HTTP request on the supplied url.
Vedere l'intera lista di opzioni della request.
Elenco dei parametri
- method
-
Request method
- url
-
URL
- body
-
Request body
- options
- info
Valori restituiti
Restituisce la response HTTP come una stringa in caso di successo, oppure FALSE.