HTTP_REQUEST(3) 1 HTTP_REQUEST(3)
http_request - Perform custom request
SYNOPSIS
string http_request (int $method, string $url, [string $body], [array $options], [array &$info])
DESCRIPTION
Performs a custom HTTP request on the supplied url.
See the full list of request options.
PARAMETERS
o $method
- Request method
o $url
- URL
o $body
- Request body
o $options
-request options
o $info
-Request/response information
RETURN VALUES
Returns the HTTP response(s) as string on success, or FALSE on failure.
PHP Documentation Group HTTP_REQUEST(3)